Viewing 15 posts - 2,176 through 2,190 (of 3,011 total)
Jean-François Bergeron (11/5/2008)
USE tempdb
GO
CREATE TABLE [dbo].[Test]
...
November 6, 2008 at 7:46 am
jgrubb (10/31/2008)
There's actually a forum for non MSSQL questions as well
The "Anything that is NOT about SQL!" forum?
You could also say that is the "Quantum mechanics" or "Medieval History" forum,...
November 3, 2008 at 12:20 pm
Yes, and then you get into all sorts of issues with rounding, overflow, etc. if you use integers.
declare @t table (ST datetime, ET datetime)
print 'Load Test Data'
insert into @t
select
*
from
( --Test...
October 31, 2008 at 3:01 pm
Just to get you started, I thought I would post these items for using elapsed time in datetime columns.
This is a solution for parsing elapsed time into days, hours, minutes,...
October 31, 2008 at 10:14 am
David Swanson (10/31/2008)
That being said, LiteSpeed's Object Level Recovery...
October 31, 2008 at 9:35 am
It’s usually better to store elapsed time in a datetime column as an offset from zero time, 1900-01-01 00:00:00.000. It then allows you to use all the datetime functions...
October 31, 2008 at 9:21 am
It is true that I didn't credit "A Few Good Men" in my parody; I guess I just assumed that everyone would know it was a parody of such a...
October 30, 2008 at 10:04 am
David Reed (10/29/2008)
Michael Valentine Jones (10/29/2008)
October 29, 2008 at 12:32 pm
You should post you question on a MySQL forum.
Try the MySQL forum at http://www.dbforums.com/
October 29, 2008 at 10:24 am
I can't believe he ripped me off. I posted this on SQLTeam 3 and a half years ago; it's the reason for my forum title there, "Yak DBA Kernel...
October 29, 2008 at 10:00 am
If you change to a new domain, the logins will keep working only if the SIDs of the user accounts on the new domain remain the same.
October 21, 2008 at 4:19 pm
I’m sure it there is any change to the DMCA as result of this, it will be tailored specifically to benefit political campaigns only. They wouldn’t want to make...
October 21, 2008 at 4:15 pm
Jerry Hung (10/21/2008)
cheap, may not be efficient way
That is pure speculation, unless you supply test results to back up that statement.
October 21, 2008 at 10:05 am
select
[Year] = right(a.Yr,2)+'-'+right(a.Yr+1,2)
from
( --Test Data
select Yr = 1998 union all
select Yr = 1999 union all
select Yr = 2000 union all
select Yr = 2001 union all
select Yr = 2002 union all
select...
October 21, 2008 at 9:44 am
This would also do what you want:
select dateadd(dd,datediff(dd,0,COLUMN_A),0)+COLUMN_B
October 21, 2008 at 9:34 am
Viewing 15 posts - 2,176 through 2,190 (of 3,011 total)