skip to main
|
skip to sidebar
Sheeban Ahmed
Tuesday, November 17, 2009
Insert Data into Multiple Tables
DECLARE @ID int
INSERT INTO Customers
(FirstName, LastName)
VALUES ('Sheeban', 'Ahmed')
SET @ID = SCOPE_IDENTITY()
INSERT INTO Orders
(CustomerID, OrderName, Quantity)
VALUES (@ID,'IPhone',100)
No comments:
Post a Comment
Newer Post
Older Post
Home
Facebook
Follow this blog
Blog Archive
►
2012
(1)
►
January
(1)
►
2011
(1)
►
October
(1)
►
2010
(8)
►
July
(1)
►
June
(1)
►
May
(5)
►
January
(1)
▼
2009
(54)
►
December
(1)
▼
November
(5)
Apply Parameter Field using Crystal Report
Using HyperLink in Gridview
Custom Membership and Role Provider
Grouping Data into the ListView Control
Insert Data into Multiple Tables
►
August
(7)
►
July
(4)
►
June
(3)
►
May
(5)
►
April
(2)
►
March
(6)
►
February
(1)
►
January
(20)
Developer Blog
Sheeban Ahmed
Karachi, Sindh, Pakistan
View my complete profile
No comments:
Post a Comment