Hi,
I'm trying to execute a SQL script on product install, however i've getting the following error when it runs: SQLExecDirect {SQL Error}: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '[]'. (where [ ] seems to be a squarebox... maybe a tab?).. .can't seem to find the asci char for it to display it here!
The Script contains 1 line: CREATE TABLE [IB_LICMON] ([LoginID] [varchar] (50) NULL,[Module] [varchar] (50) NULL,[Date] [datetime] NULL CONSTRAINT [DF_IB_LICMON_Date] DEFAULT (getdate()),[Text] [varchar] (100) NULL,[CurrentNumUsers] [int] NULL)
SQL Profile seem to return this: [][]C
So.. it sounds like either the installer is currupting the script or it doesn't like the ANSI format etc.. i've tried different file types and nothing seems to work..
Can anyone help?
Thank you!
Nick
FOLLOW US
Get the latest news in Application Packaging