Use this tag for questions specific to the 2008 R2 version of Microsoft's SQL Server.
I am using SQL Server 2008 R2. I want the priority based sorting for records in a table. So that I …
sql sql-server sql-server-2008-r2I want to update my column CODE_DEST with an incremental number. I have: CODE_DEST RS_NOM null qsdf …
sql-server sql-server-2008-r2 sql-updateI am trying to calculate the distance between two positions on a map. I have stored in my data: Longitude, …
sql sql-server tsql math sql-server-2008-r2I found a table with this a column from this data type numeric(18, 0) what is that please? and why does 0 …
sql sql-server sql-server-2008-r2I have a temp table with two columns of integer data i want to find the difference between two columns …
sql-server tsql sql-server-2008-r2 addition temp-tablesI have a table ABC in a database DB. I want to create copies of ABC with names ABC_1, ABC_2, …
sql sql-server-2008 tsql sql-server-2008-r2I have below SQL. UPDATE student_queues SET Deleted=0, last_accessed_by='raja', last_accessed_on=CONVERT(VARCHAR(24),'23-07…
sql-server sql-server-2008-r2 date-conversionI'm trying to create a view with an ORDER BY clause. I have create it successfully on SQL Server 2012 SP1, …
sql-server database tsql view sql-server-2008-r2I am having error while connecting to SQL Server: Details in Stack Trace are: =================================== Cannot connect to ServerName. =================================== A connection …
sql-server sql-server-2008-r2I am using SQL Server 2008 R2 Express. I first installed SQL Server 2008 R2 Express Management Studio and then I installed …
sql-server sql-server-2008-r2