Viewing 15 posts - 736 through 750 (of 825 total)
da-zero (8/24/2010)
Carlo Romagnano (8/24/2010)
One way to avoid worrying about NULLs is never to use them, always declaring columns as not allowing NULLs and designating default values for "empty" or "unknown"....
August 24, 2010 at 3:24 am
ajs-1102829 (8/23/2010)
Comments posted to this topic are about the item <A HREF="/articles/T-SQL/70808/">The Semantics of NULL in SQL Server 2008</A>
SQL2008???
What's the difference from the other versions of sqlserver or ANSI...
August 24, 2010 at 2:11 am
One way to avoid worrying about NULLs is never to use them, always declaring columns as not allowing NULLs and designating default values for "empty" or "unknown". This will save...
August 24, 2010 at 2:08 am
Hugo Kornelis (7/26/2010)COUNT(*) returns the number of columns (regardless of values);
That's false: COUNT(*) returns the number of ROWS regardless of values of columns. :w00t:
July 27, 2010 at 6:31 am
Answer is very easy: SELECT DISTINCT does not have parameters.
July 26, 2010 at 1:03 am
There is nothing new learn from this question.
The lesson is:
"GO" may be dangerous if no error checking is done!
June 11, 2010 at 1:01 am
If you want an increment of 10, so all values are 0, 10, 20 and so on,
be warn of SET IDENTITY_INSERT <table> ON
may lead to unwanted sequence:
create table #a(i int...
May 31, 2010 at 1:18 am
EXEC('SELECT*FROM[sysobjects]ORDERBY1desc')
In this case the "order by" clause is missing
ORDERBY1desc is the alias of [sysobjects]
May 28, 2010 at 2:28 am
???????????????????????????????????
😎
Try this:
select*from sysobjects order by 1desc
No space in 1desc
May 28, 2010 at 1:27 am
vk-kirov (5/18/2010)
May 18, 2010 at 4:14 am
Starting from sql2000 sp4 and sql2005, sql2008, the optimizer changed strategy to retrieve data when you specify parameters in the where clause. So, in this case "column1 between @from and...
April 28, 2010 at 1:33 am
Viewing 15 posts - 736 through 750 (of 825 total)