Pregunta

i can duplicate table like this:

create table abc_new as select * from abc

can i duplicate the table and new Columns like birthdate as date in the same sentences?

¿Fue útil?

Solución

it add date

create table abc_new as select *,sysdate as someDate from abc

if i type number it add number..

Otros consejos

You can create the view of the table in Sql . You cant create the duplicate table in Sql like Mysql.

for view:

CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top