Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax error near keyword check

Status
Not open for further replies.

Sid244

Technical User
Mar 6, 2005
8
US
I am tyring to find the correct syntax for a check inside my stored procedure.

@ID as check

Any thoughts, please.
 
I have a check box that I am trying to update in an Mdi form. In my stored procedure I am linking the information from the new form with the parent program. In the new window there are some check boxes and I want to relay that information back to the DB as whether it is checked or not.

@Name as nvarchar(50),
@HasID as check,
@Date as datetime,

[what is the correct keyword in a stored procedure for a check?]
 
It is supposed to be

@whatever as bit

not

@whatever as check

Sorry for the confusion.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top