﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / T-SQL (SS2K8)  / Case sensitivity when declaring paramters / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 09:39:45 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Case sensitivity when declaring paramters</title><link>http://www.sqlservercentral.com/Forums/Topic1412116-392-1.aspx</link><description>well i have Installed Case Insensitive Instance on my machineThe paramter declareatiom is infulanced by the server collationCase Insensitive Server Collation :Declare @Col1 intSet @col1 =16       workson Case sensitive Server Collation  (DataBase Case Insensitive)Declare @Col1 intSet @col1 =16       Does not work Conclusion  Paramters are sensitive only to the server collation</description><pubDate>Sun, 27 Jan 2013 08:04:10 GMT</pubDate><dc:creator>Gil_Adi</dc:creator></item><item><title>Case sensitivity when declaring paramters</title><link>http://www.sqlservercentral.com/Forums/Topic1412116-392-1.aspx</link><description>My server is case sensitive  (CS)My DataBase is no   (CI)The smss query editor works fine for   this kind of query CREATE TABLE [dbo].[Table_Test](	[col1] [int] NULL,	[Col2] [int] NULL) ON [PRIMARY]--- pay attention to columns names  (col1,Col2)Declare @col1value int set @col1value = 15insert table_test (Col1,col2) values (@col1value ,10)-- This works although the table name and the columns name are in different case   :-)-- But when I am changing the Declare  to  Declare @Col1value int it  reports an error Does the collation for the t-sql parameters  defined by the server collation  ?  or  it is defined in the T-SQL  lanquege  core </description><pubDate>Sun, 27 Jan 2013 05:09:53 GMT</pubDate><dc:creator>Gil_Adi</dc:creator></item></channel></rss>