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!

Collation in table-variable declaration 1

Status
Not open for further replies.

MarnickBolle

Programmer
Feb 7, 2003
17
BE
Why does this syntax:

DECLARE @tblTabel TABLE (field1 varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL)

used in a stored procedure is accepted on one SQL-server and not accepted on another one while both SQL-servers are SQL2000-servers SP3?

What can be the reason and is there a solution for this problem, so that the syntax is accepted on all SQL2000-servers.
 
The only thing that comes to my mind is database compatibility level (must be 80).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top