Viewing 15 posts - 1,816 through 1,830 (of 2,904 total)
Krishna,
Ganesh's suggestion is excellent with two corrections.
Let's say you are trying this for week 35.
1/1/2004 is week 1. So if you add @weekno (35) to it you will actually be getting...
August 31, 2004 at 12:09 pm
Are you wanting just YOUR stored procedures or all stored procedured?
When I create my own sp, I save it to a script directory on my hard drive (I have folders...
August 31, 2004 at 11:02 am
Is there a trigger or script that could be saving the time as UTC (GMT)? The command GETUTCDATE() might be in use with your database.
Quick way to figure out if...
August 31, 2004 at 10:55 am
1. Please post in an appropriate forum. this forum is for discussing the Question of the Day - not for individual's questions. The QOD is a test question that you can view...
August 31, 2004 at 8:26 am
I think you are getting truncated data.
2 10 1316
2 13
The 10 has been dropped and so has the 16. Is there any code converting or reformatting the RoleID result?
-SQLBill
August 31, 2004 at 8:09 am
Yes. SQL Server backup commands are designed to allow you to backup the databases while they are being used. Using those commands also cause very little impact on your users.
The...
August 31, 2004 at 8:04 am
Can you afford to take the databases offline for a while? If so, the BEST way is to detach the database and copy the .mdf, .ldf, and .ndf (if any)...
August 31, 2004 at 8:00 am
Wow! That's a strange way to keep dates and times. First you have to tell us how to interpret the datetime value you have as a decimal. In other words, what...
August 30, 2004 at 12:40 pm
What was the solution? Please post it as it might help someone else in the future.
-SQLBill
August 30, 2004 at 7:33 am
You moved the database to SQL Server 2000 from MSDE 2000.
1. did you move the procedure (I know this sounds like a dumb question - but depending on how you did...
August 27, 2004 at 11:51 am
It depends on what you are going to do with the date/time value.
1. Just display it. Then VARCHAR is good enough and you don't have to CAST or CONVERT it...
August 27, 2004 at 8:14 am
I agree with the previous posters....it's gotta be your application. The reason is that SQL Server does not STORE dates and times in any "date/time" format.
Per the BOL:
Values with the...
August 27, 2004 at 8:08 am
Forgot to add, one issue with GMT/Local times is during the change from DST to 'normal time' and back again.
Let's say the time changes at 2 am local (as it...
August 27, 2004 at 8:01 am
Yes, there can be issues. I am on the US east coast (Eastern Standard Time). The we are GMT-4 during DST and GMT-5 the rest of the year.
My database is...
August 27, 2004 at 7:56 am
Is the Windows 2000 box part of an active directory and your Windows NT box isn't?
Is the Windows 2000 box on a different network than the SQL Servers and the...
August 26, 2004 at 10:38 am
Viewing 15 posts - 1,816 through 1,830 (of 2,904 total)