Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tried many variations - can not get this right
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Tried many variations - can not get this right
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01409956
Message ID:
01409956
Views:
95
Hi everybody,

I'm trying to write a CREATE TABLE statement which would create referential integrity as well. I'm trying syntax from the Help file, but it gives me "syntax error".

Do you know the proper syntax here?
CREATE TABLE (m.lcPath + "Data\DealerOpts1.DBF") ;
				(OptsId I AUTOINC PRIMARY KEY, OptionID I REFERENCES DealerOptions TAG OptionID,
				 MakeID I REFERENCES Manufacturers TAG MakeID, ;
				 ModelID I REFERENCES Models TAG ModelID, ;
				 Retail N(10, 2), Cost N(10, 2), CostLine N(10, 2), Type C(12), StdOption L )
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform