Bertolt Brecht What a miserable thing life is: you're living in clover, only the clover isn't good enough.
sql server: create table as select (CTAS-like in Oracle)
category: General tips |
Tag List: create    ctas    oracle    select    sql server   
posted by : jazzvm
view count : 683
2010-01-30 17:44:21, EST: 2010-01-30 03:44:21
posted about 7 months ago

sql server - select table into

SELECT * 
    INTO new_table_name
FROM original_table_name


¸¸¾à new_table_name ÀÌ Á¸ÀçÇÑ´Ù¸é error °¡ ¹ß»ýÇÑ´Ù.



oracle - create table as select (CTAS)

CREATE TABLE new_table_name
AS
SELECT * FROM original_table_name



¹°·Ð À§ÀÇ µÎ °æ¿ì ¸ðµÎ table »ý¼º»Ó ¾Æ´Ï¶ó, dataµµ insert ÇÑ´Ù.


posted(2010-01-30): www.jazzvm.net/board/view.jazz?seq=1328

µµ¿òÀÌ µÇ¾ú°Å³ª, ÀǰßÀÌ ÀÖÀ¸½Ã¸é Ä¿¸àÆ®¸¦ ³²°ÜÁÖ¼¼¿ä. ±ÛÀ» ÀÛ¼ºÇÒ ¶§¿¡ Âü°í°¡ µË´Ï´Ù.
Please leave any comment or opinion regarding this posting. Particularly when you want to refer to this.
That would provide me with good motivation.

thanks --jazzvm

Name:   PWD:
Five Numbers[one zero zero one eight] :   ex)[zero one two three four] : 01234
sql server: create table as select (CTAS-like in Oracle) jazzvm 2010-01-30 17:44:21