Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run SQL Scripts
Message
From
24/11/2005 23:04:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Run SQL Scripts
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01072007
Message ID:
01072007
Views:
53
Hi all,

I'm trying to run the code below(to create tables in Sql Server), and i get allways an error, 'Error=18 Line is too long' .

Any Workaround for this??
	.oCmd=CREATEOBJECT('ADODB.Command')	
	.oCmd.ActiveConnection=.oConnect
	.oCmd.CommandType=8
        cStr=FILETOSTR("TABLES_MSDE.SQL")  
	.oCmd.CommandText=&cStr  && Error 
	.oCmd.Execute()
João Batista
Next
Reply
Map
View

Click here to load this message in the networking platform