Viewing 15 posts - 361 through 375 (of 1,825 total)
This page http://www.karaszi.com/SQLServer/info_datetime.asp will let you know all you could ever want to know about dates in sqlserver.
February 3, 2011 at 6:29 am
Grant Fritchey (2/3/2011)
February 3, 2011 at 6:16 am
Please see this link ... http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
EDIT :
Basically , no , but you can improve your situation by using sp_executesql
February 3, 2011 at 5:23 am
Can you show us what you have tried so far ?
February 3, 2011 at 4:10 am
GilaMonster (2/2/2011)
Based on the latest post, maybe black list rather than watch list
Gus however, is on the Christmas card list , lovely work there :Wow:
February 2, 2011 at 7:25 am
questionhacker , is certainly on my 'one to watch' list.
http://www.sqlservercentral.com/Forums/Topic1057295-391-1.aspx
February 2, 2011 at 4:55 am
Because its equivalent to
Select * from Sys.sysobjects where id in(Select sysobjects.id from sys.identity_columns)
So there is no syntax error
February 1, 2011 at 6:24 am
The TOP clause is in direct relevance to the order by clause
in your case
ORDER BY r.bill_code_cnt DESC
So it doesent matter if you
Select top(100) 1,2,3,4
or
Select top(100) 4,3,2,1
The top 100 rows will...
February 1, 2011 at 4:50 am
The column order has nothing to do with the TOP operator.
You can just simply reorder the columns in your select statement , though , IMO, relying on column order anywhere...
February 1, 2011 at 4:05 am
Koen (da-zero) (2/1/2011)use the Kimball SCD (downloadable on Codeplex if I'm not mistaken).
+1 from me for that suggestion , http://kimballscd.codeplex.com/
February 1, 2011 at 3:58 am
Take a look at this article that i wrote a little while back.
http://www.sqlservercentral.com/articles/T-SQL/71571/
You just need top(1).
January 30, 2011 at 3:22 am
Sorry , i need SQL code i can run , not a vague description.
January 28, 2011 at 10:42 am
Can you provide a full reproduction script ?
please include DDL (Create Table ) , data inserts and Select that show your issue
January 28, 2011 at 8:30 am
Viewing 15 posts - 361 through 375 (of 1,825 total)