Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and M$ SQL Server
Message
From
04/11/1998 14:28:11
 
 
To
04/11/1998 11:59:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00154387
Message ID:
00154468
Views:
15
Hi Chuck ---

Get your connection handle with SQLCONNECT and then:

=SQLEXEC(nConnectionNum,"CREATE TABLE database..tablename (name CHAR(30), amount float)")

Note that the datatypes are different in SQL-Server.


>I can get connected to the server and create a database and select it.
>How can I a create a table in the database? Any syntax would help.
>
>Charles
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform