Viewing 15 posts - 32,596 through 32,610 (of 59,099 total)
This will do it...
UPDATE Report
SET ShipID = itst.shipid ,
PassengerCount = itst.PassengerCount ,
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 10, 2011 at 8:59 am
jared-709193 (9/10/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 10, 2011 at 8:46 am
They say a compliment is a good thing. Two by the same person on the same subject is a sure thing. Thanks, Olga. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 8:43 pm
Nomvula (9/9/2011)
thanks guys for all the responses really appreciate it and i managed to get it.
Considering that there were a couple of problems with some of the code on this...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 8:41 pm
You bet. C'mon back when you get some clarification on this. It's actually a fun problem. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 10:06 am
Just remember that in a SAN envirionment, separate drive letters don't necessarily equate to separate spindles. Check with the folks managing your hard disk storage space to make sure...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 9:40 am
sowmya.boodaderureddappa (9/9/2011)
We are using a convert function for date column in where condition and doing comparison. BUt its not working as it has to
( Report date >= Effective...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 1:33 am
sqlfriends (9/8/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 1:28 am
We were in a development cycle for a particular "screen". To make a much longer story shorter, the screen displayed certain aggregated data based on user selectable start date...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 1:24 am
YSLGuru (9/8/2011)
GilaMonster (9/8/2011)
The log file.
Thanks Gail and I woudl certainly do that first but the llg file already is on its own drive. I negelcted to say that in...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 1:10 am
sunny.tjk (9/8/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 1:06 am
notoriousdba (9/8/2011)
You're seeing the length in bytes. Each NVARCHAR character takes up two bytes of storage.
In SQL Server, do you know of a language or collation setting that would cause...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 1:02 am
jared-709193 (9/8/2011)
The main way for a given month is this: SELECT DAY(DATEADD (m, 1, DATEADD (d, 1 - DAY(GETDATE()), GETDATE())) - 1)
That will give you the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 12:56 am
I took the minimalist approach which also avoids the loop which would allow it to be used in an iTVF (unlike looping solutions). You might be able to speed...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 12:37 am
SQLRNNR (9/8/2011)
jared-709193 (9/8/2011)
SQLRNNR (9/8/2011)
SET DATEFORMAT DMY
DECLARE @StartDateDATE = '05/06/2011'
,@EndDateDATE = '31/08/2012'
;
WITH getmonths AS (
SELECT cast(Convert(varchar,'01/' + cast(MonthNum as varchar) + '/' + cast(yr.yr...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 9, 2011 at 12:33 am
Viewing 15 posts - 32,596 through 32,610 (of 59,099 total)