Viewing 15 posts - 16 through 30 (of 161 total)
Are there any restrictions on which version of SQL can be used to solve this problem?
July 22, 2004 at 10:30 am
I think you will find that return will be adding a <P> tag and shift-return will be adding a <BR> tag into the text, many HTML editors work in this...
April 7, 2004 at 4:45 am
Sorry, but unless I generate them, I may have to wait for weeks for get any deadlocks in a profiler trace, we very very rarely have any.
March 31, 2004 at 2:21 am
You will find the information in BOL - look at the CREATE TABLE command.
March 31, 2004 at 1:48 am
Long Running Queries
Use the SQLProfilerTSQL_Duration template and set a Filter on Duration for greater than equal to 1000 (time in milliseconds).
Deadlocks
Tracing deadlocks via profiler will only show you that they...
March 31, 2004 at 1:39 am
Although not as tightly integrated as Visual Studio, we have written a stand alone application which connects to SQL via SQLDMO and scripts all the objects to VSS. Works very...
March 31, 2004 at 1:32 am
If you use "set statistics io on" and run the the query in your example you will see that SQL has to perform 475 logical reads. This is due to...
March 30, 2004 at 2:56 am
If you still have access to the source database, perform a Shrink Database operation on the database before taking another backup.
You could also consider changing the recovery mode to Simple...
March 30, 2004 at 2:04 am
If you are looking to return just the items despatched during the last calendar month, try using something like this:
where oh.date_despatched between convert(char, dateadd(mm, -1, dateadd(dd, -(day(getdate()) - 1), getdate())),...
March 23, 2004 at 2:21 am
You state that you are limited in using a self join due to the initial statement being very complex and you dont what to repeat it in order to perform...
March 23, 2004 at 2:01 am
My mistake (I was reading your post date....4th of the month), try this instead then:
select replace(right(convert(varchar, getdate(), 6), 6), ' ', '')
February 5, 2004 at 7:48 am
As you can see there are many ways to do this, and here is another:
select replace(convert(varchar(6), getdate(), 107), ' ', '')
February 5, 2004 at 1:54 am
Thanks all, especially Steve for SO many replies (I think he's trying to get increase his number of posts )
Since starting this thread I...
January 30, 2004 at 1:55 am
Thanks all, especially Steve for SO many replies (I think he's trying to get increase his number of posts )
Since starting this thread I...
January 30, 2004 at 1:54 am
Viewing 15 posts - 16 through 30 (of 161 total)