Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 2nd, 2004, 05:02 PM
desireemm desireemm is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 31 desireemm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 35 sec
Reputation Power: 5
Question stored procedure

does anyone see anything wrong with my stored procedure, its suppose to update the terminations table through an insert. I need it to pull the data from another table the EmployeeGamingLicense_tbl and insert it into the Terminations table






Code:
CREATE PROCEDURE [insert_TERMINATION_TestSp] (@TM_#_1 [int], @FirstName_2 [nvarchar](50), @LastName_3 [nvarchar](50), @SocialSecurityNumber_4 [int], @DateHired_5 [datetime], @Status_6 [nvarchar](50), @Title_7 [nvarchar](50), @DepartmentName_8 [nvarchar](50)) AS INSERT INTO [GamingCommissiondb].[dbo].[TERMINATION] ( [TM #], [FirstName], [LastName], [SocialSecurityNumber], [DateHired], [Status], [Title], [DepartmentName]) VALUES ( @TM_#_1, @FirstName_2, @LastName_3, @SocialSecurityNumber_4, @DateHired_5, @Status_6, @Title_7, @DepartmentName_8) GO

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > stored procedure


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT