Viewing 15 posts - 601 through 615 (of 3,011 total)
Eugene Elutin (4/5/2012)
Sean Lange (4/4/2012)
You have to either use a datetime variable or put your string representation inside single quotes.
select * from TICKET where createDate > '4/1/2012'
Is it 4th Jan...
April 5, 2012 at 5:31 pm
"where createDate > 2012-04-02" becomes the integer 2006, "where createDate > 2006" and the 2006 gets cast to datetime as 1905-06-30 00:00:00.000, so it's the same as "where createDate >...
April 4, 2012 at 2:55 pm
When you push the button, do you shout "Say hello to my little friend!" in a really bad Tony Montana accent with a background of synthesized new wave, electronic music?
April 4, 2012 at 2:50 pm
Jeff Moden (3/26/2012)
Michael Valentine Jones (3/26/2012)
March 27, 2012 at 2:02 pm
dwain.c (3/26/2012)
The following thought occurred to me last night but I didn't get a chance to test it until this morning.
Isn't the modulo function designed to always return a positive...
March 27, 2012 at 1:46 pm
Here is an alternate method that I use to generate the pseudo random numbers. The basic method is to take the right 7 bytes from the NEWID function and...
March 26, 2012 at 2:22 pm
The "normal" practice is to not run applications on the same server with a SQL Server.
March 23, 2012 at 10:07 am
TravisDBA (3/9/2012)
...Being scared, or not wanting to spend the money is more of an excuse nowadays than it is a reason to not upgrade. Come on, jump on in, the...
March 9, 2012 at 12:26 pm
We have about 130 instances of SQL 2000 and even a couple of SQL 7.0.
Hardware isn't much of an issue, almost all are on VM's.
As long as it runs, I...
March 9, 2012 at 11:28 am
Row version isolation will usually prevent deadlocks between readers and writers or updaters.
I have sucessfully used it for this on a number of systems, and can't say that I have...
March 6, 2012 at 8:25 pm
Weeks usually have 7 days.
Do you have some special meaning for the number of days in a week?
March 5, 2012 at 1:18 pm
Elliott Whitlow (3/1/2012)
...
Also since maintenance plan jobs carry the owner of the person who saved the plan last I have a job that runs hourly and sets the owner of...
March 1, 2012 at 2:43 pm
This shows how to find the first and last day of the week for a given date, with the week starting on Sunday and ending on Saturday. You can...
February 29, 2012 at 9:31 pm
Create a Developer role in each database and grant it the necessary permissions.
Then add the developers to that role in each database they need access to.
February 29, 2012 at 7:33 am
Idera Diagnostic Manager has a nice dashboard for viewing multiple servers, and can collect information all the time, not just when you look at it.
It works with all the versions...
February 24, 2012 at 1:39 pm
Viewing 15 posts - 601 through 615 (of 3,011 total)