Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql - Insert
Message
From
26/07/2006 15:00:39
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01140319
Message ID:
01140376
Views:
18
Wrap the three inserts into a transaction. SQL Server BOL will give information on how to do it.


>Hello.
>
>I have three tables
>Table1(code c(5)) Holds the last number used, this is not autoincremental
>Table2(code c(5)) because the user can change the last number printed
>Trans1(code1 c(5), code2 c(5), descrip c(30) ...)
>
>How should be the insert code so I can update all three tables at once ?
>
>c.x.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform