Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server Newbies
»
Adding linked records
Adding linked records
Rate Topic
Display Mode
Topic Options
Author
Message
agabb
agabb
Posted Sunday, October 21, 2012 1:59 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, October 29, 2012 1:20 AM
Points: 4,
Visits: 30
I need to add records to a DB in SQL Server 2005.
Each composite record represents a project in the table PROJECT, with client and agent addresses in the table ADDRESS, with foreign keys Client_addr_id and Agent_addr_id and primary key Addr_id in ADDRESS.
Can someone show me how to add the composite record in one transaction, please?
(I'm doing this from Access 2007 using DAO/ODBC, but presumably that doesn't make much different to the principles of what I'm trying to do.)
Andrew
Post #1375149
Eugene Elutin
Eugene Elutin
Posted Monday, October 22, 2012 7:16 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 10:39 AM
Points: 2,556,
Visits: 4,398
You don't need to duplicate your posts
http://www.sqlservercentral.com/Forums/Topic1375152-1292-1.aspx
_____________________________________________
"The only true wisdom is in knowing you know nothing"
"O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!"
(So many miracle inventions provided by MS to us...)
How to post your question to get the best and quick help
Post #1375415
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.