0% found this document useful (0 votes)
16 views2 pages

Order Column Type Length Options Terminator

excel file to build sql table scripts

Uploaded by

Felipe Nirona
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Order Column Type Length Options Terminator

excel file to build sql table scripts

Uploaded by

Felipe Nirona
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 2

Table Order Column Type Length Options Terminator

T_5044701 -3 document.T_5044701
T_5044702 -2 DROP TABLE document.T_5044701
T_5044703 -1 GO
T_5044704 0 CREATE TABLE document.T_5044701 (
T_5044705 1 C_5044701 BIGINT identity(1,1) NOT NULL ,
T_5044706 2 C_5044702 BIGINT NOT NULL ,
T_5044707 3 C_5044703 NVARCHAR (1) ,
T_5044708 4 C_5044704 BIGINT ,
T_5044709 5 C_5044705 BIGINT NOT NULL ,
T_5044710 6 C_5044706 NVARCHAR (1) ,
T_5044711 7 C_5044707 datetime ,
T_5044712 8 C_5044708 DECIMAL (5,0) ,
T_5044713 9 C_5044709 DECIMAL (5,0) ,
T_5044714 10 C_5044796 BIGINT NOT NULL ,
T_5044715 11 C_5044797 datetime NOT NULL ,
T_5044716 12 C_5044798 BIGINT ,
T_5044717 13 C_5044799 datetime ,
T_5044734 998 )
T_5044735 1000 GO
Output
if exists (select * from dbo.sysobjects where id = object_id(N'document.T_5044701') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
DROP TABLE document.T_5044701
GO
CREATE TABLE document.T_5044701 (
C_5044701 BIGINT identity(1,1) NOT NULL,
C_5044702 BIGINT NOT NULL,
C_5044703 NVARCHAR (1) ,
C_5044704 BIGINT ,
C_5044705 BIGINT NOT NULL,
C_5044706 NVARCHAR (1) ,
C_5044707 datetime ,
C_5044708 DECIMAL (5,0) ,
C_5044709 DECIMAL (5,0) ,
C_5044796 BIGINT NOT NULL,
C_5044797 datetime NOT NULL,
C_5044798 BIGINT ,
C_5044799 datetime ,
)
GO

You might also like