Viewing 15 posts - 54,421 through 54,435 (of 59,067 total)
Heh... I like the "downtown" explanation better.
Light on = True... Light off = False... NULL = who the hell stole my lamp 😛
October 24, 2007 at 7:11 pm
Heh... good... not my eyes... just time of day. Thanks, Matt.
October 24, 2007 at 9:27 am
Ah... got it... Looked more like VBS. Not sure why folks don't just write real code... doesn't take any longer 😛
DECLARE @A INT --Defaults to NULL on...
October 24, 2007 at 9:13 am
rockzcm (10/24/2007)
I agree.Null is an very interesting data type.
a=null
b=null
if a=b then 'Yes'
Else
'No'
You will expect to get No since you cannot compare two null values.
Even more interesting... the...
October 24, 2007 at 8:44 am
Sergiy (10/22/2007)
There was a typo in the formula.
Also I corrected small logical error in the code:
[Code]
IF OBJECT_ID('dbo.fnAddWeekdays_Sergiy','fn') IS NOT NULL
DROP FUNCTION dbo.fnAddWeekdays_Sergiy
GO
CREATE FUNCTION dbo.fnAddWeekdays_Sergiy...
October 24, 2007 at 1:45 am
Peter Larsson (10/24/2007)
BUT... I am missing data from SQL Profiler regarding CPU/DURATION/READS and WRITES for the different methods used.
When I started out with SQL Server 2005 and PIVOT...
October 24, 2007 at 1:30 am
VAIYDEYANATHAN.V.S (10/23/2007)
October 24, 2007 at 1:10 am
rog pike (10/23/2007)
rises to the level of a shot across the bow of a ship
whose course needs dire correction).
Exactly what...
October 23, 2007 at 11:43 pm
Bob Bridges (10/23/2007)
(SELECT STUFF(GL_SWT,1,CHARINDEX('.', @col+'.'),'')
It works...
October 23, 2007 at 11:17 pm
Sandy (10/23/2007)
Hey Jason Tontz,In SQL 2005, you can use this Query.
Hmmm... I wonder how Pivot in 2k5 would do against these simple 3 value pivots on a million rows? ...
October 23, 2007 at 7:46 am
Yep... mine definetly fails for different languages... that's why I said you need to modify it for other languages. 😀
Ken's DATEFIRST solution would fix that.
October 23, 2007 at 7:40 am
mrpolecat (10/23/2007)
October 23, 2007 at 7:29 am
rog pike (10/23/2007)
October 23, 2007 at 7:15 am
mrpolecat (10/23/2007)
Peter Larsson (10/23/2007)
I also lack the oppurtunity to call the SP twice in a row.I get an error "index already exists".
I thnk it would make sense to move the...
October 23, 2007 at 7:10 am
Peter Larsson (10/23/2007)
I also lack the oppurtunity to call the SP twice in a row.I get an error "index already exists".
I'll check it out, Peter... thanks for the feedback.
October 23, 2007 at 7:07 am
Viewing 15 posts - 54,421 through 54,435 (of 59,067 total)