Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi.@entrytime is the parametr for a Time(7) datatype field in my table
SQL
DECLARE	@return_value int

EXEC	@return_value = [dbo].[InsertRowInPersonelCard]
		@personelcode = N'21',
		@entrytime = 00:00:04,  --error:Incorrect syntax near ':'
		@carddate = N'1392/01/21'

SELECT	'Return Value' = @return_value
Posted

1 solution

Try:
SQL
@entrytime = '00:00:04',
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900