Code: Select all
SqlPrepareAndExecute(hSql, "create table ##XT65VEHO000000001111411271079 (
ROWID int identity(1, 1 ) not null,
UNITID varchar( 3 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
UNITNAME varchar( 50 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
RDATE datetime null,
GSALID int null,
WRKORDNO int null,
CUSTNO int null,
ESTDELD datetime null,
SERVD datetime null,
STATUS varchar( 1 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
STYPE varchar( 1 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
CUSTNAME varchar( 130 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
BILLD datetime null,
STATSCUSTNO int null,
GRECNO int null,
REFE varchar( 50 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
EINVDATE datetime null,
LICNO varchar( 20 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
SERIALNO varchar( 20 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
WARHAPPID varchar( 8 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
WARHDAMNO int null,
WARHSTATUS varchar( 1 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
WARHRECON int null,
SUBORDER int null,
DELETED datetime null,
SPINNR varchar( 20 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
ARECNO varchar( 20 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null,
WARCUSTNO int null,
WARCUSTNAME varchar( 100 ) COLLATE SQL_SwedishStd_Pref_CP1_CI_AS null )" )
Best regards,
Florin