Viewing 15 posts - 16 through 30 (of 100 total)
Non-Unicode Text Types: char, varchar, text, varchar(max)
When you deal with text data that is stored in the char, varchar, varchar(max), or text data type, the most important limitation to consider...
February 6, 2012 at 6:37 am
try below code
DECLARE @Tmp TABLE (Id int, RowNum int, TotalRows int);
WITH SelectedItems AS
(SELECT Id, Row1, Row2, ROW_NUMBER() OVER (ORDER BY Row1) AS Position,
COUNT(*) OVER () AS TotalRows
FROM...
February 6, 2012 at 6:17 am
or can try below code for 2nd lowest salary
select * from emp where sal in (select * from (select min(sal) from emp group by sal order by sal ) where...
February 6, 2012 at 6:07 am
I don't believe this is possible. It seems like when RS exports the data, it does data only... and sometimes does some interesting things with column spanning cells too. It...
February 6, 2012 at 5:27 am
Sorry but i forget to post my article References
http://www.sqlskills.com/BLOGS/KIMBERLY/post/The-Clustered-Index-Debate-again!.aspx
February 6, 2012 at 4:54 am
Q: When you use the Database Tuning Advisor (DTA) or the missing index dynamic management views (DMVs), these tools sometimes suggest nonclustered indexes that include the clustering key columns in...
February 6, 2012 at 4:47 am
You can read Comparing Change Data Capture and Change Tracking in Books Online
Editor: removed text of article referenced. Added hot link
February 6, 2012 at 4:28 am
Enabling Web Server Debugging on Windows XP Service Pack 2
Windows XP Service Pack 2 provides enhanced security. To enable Web server debugging on Windows XP Service Pack 2, you must...
February 6, 2012 at 4:23 am
bob.ward (2/4/2012)
[font="Times New Roman"]The Windows Firewall on this machine is currently blocking remote debugging....
February 6, 2012 at 4:21 am
ok check below link pls
http://stackoverflow.com/questions/71022/sql-max-of-multiple-columns
February 6, 2012 at 4:10 am
ok check below links
http://www.databasejournal.com/features/mssql/article.php/3618061/MS-SQL-Joins---Part-1.htm
February 6, 2012 at 3:43 am
– Get the current name of the SQL Server instance for later comparison.
SELECT @@servername
– Remove server from the list of known remote and linked servers on the local instance of...
February 6, 2012 at 3:10 am
Hello all
May i have an useful idea for you
First you can declare a new date parameter then
into an update statement ,You can assign it to third value if...
February 6, 2012 at 2:53 am
Viewing 15 posts - 16 through 30 (of 100 total)