Viewing 15 posts - 1,006 through 1,020 (of 2,007 total)
mithubhudolia (1/27/2012)
I have to show data in reports (day wise and moth wise)
Like
In jan month ,we have 31 days so if data is available in 1'jan than show data...
January 27, 2012 at 2:48 am
Ulysses_Infinity (1/13/2012)
January 26, 2012 at 8:35 am
Wow, wasn't aware of this so thanks (went with 1 and 1).
Good job I always specify length so it hasn't cropped up before
January 26, 2012 at 1:41 am
kyle.doouss (1/25/2012)
If you don't know what I mean please...
January 25, 2012 at 3:34 am
As roryp says, you haven't given us enough information to give you a satisfactory answer.
Please read this link[/url] about how best to provide us with working sample data and expected...
January 24, 2012 at 10:06 am
Paul's solution is probably better, but I hadn't realised we were meant to be totalling the minutes per department.
BEGIN TRAN
CREATE TABLE #Activity(ActivityId INT,DepartmentID INT,ActivityName NVARCHAR(100),ActivityStartDate DATETIME,ActivityEndDate DATETIME)
INSERT INTO #Activity (ActivityId...
January 24, 2012 at 9:51 am
Brandie Tarvin (1/24/2012)
Cadavre (1/24/2012)
Brandie Tarvin (1/23/2012)
The blog post with the sample link is at: http://www.crazy8press.com/2012/01/12/sample-the-first-latchkeys-adventure/%5B/url%5D (in case you don't want to go...
January 24, 2012 at 9:32 am
Brandie Tarvin (1/23/2012)
The blog post with the sample link is at: http://www.crazy8press.com/2012/01/12/sample-the-first-latchkeys-adventure/%5B/url%5D (in case you don't want to go directly to the...
January 24, 2012 at 9:27 am
I'm sure there's a better way, but this should be what you're after -
BEGIN TRAN
CREATE TABLE #Activity(ActivityId INT,DepartmentID INT,ActivityName NVARCHAR(100),ActivityStartDate DATETIME,ActivityEndDate DATETIME)
INSERT INTO #Activity (ActivityId ,DepartmentID,ActivityName,ActivityStartDate,ActivityEndDate)
VALUES ( 1,201,'Initial Review', '2010-01-05...
January 24, 2012 at 9:09 am
Had a quick look at it - your code will miss the precision/scale of decimal numeric data.
Try something like this: -
SELECT object_name(c.object_id),
t.NAME AS DATA_TYPE,
CASE WHEN t.NAME IN ('char','varchar','nchar','nvarchar')
...
January 24, 2012 at 6:52 am
SELECT DATA_TYPE,
CASE WHEN CHARACTER_MAXIMUM_LENGTH = -1 THEN 'MAX'
...
January 24, 2012 at 6:38 am
ganeshkumar005 (1/24/2012)
How to convert date '1978-01-25 00:00:00.000' into '25th January' format? The 'th' or 'rd' can be skipped, if difficult. Please help.
You should do this in the presentation layer, not...
January 24, 2012 at 3:22 am
Brandie Tarvin (1/23/2012)
You're welcome.And if this helps, think of Latchkeys as Goosebumps meets Doctor Who.
A new Goosebumps was what I was after for her, she's read just about all of...
January 23, 2012 at 8:40 am
Brandie Tarvin (1/23/2012)
Cadavre (1/23/2012)
Brandie Tarvin (1/23/2012)
Delayed due to technical difficulties, Latchkeys is now out on Kindle. Here's the U.K. Kindle version and here's the U.S. Kindle version.
The Nook versions...
January 23, 2012 at 8:28 am
Brandie Tarvin (1/23/2012)
Delayed due to technical difficulties, Latchkeys is now out on Kindle. Here's the U.K. Kindle version and here's the U.S. Kindle version.
The Nook versions are supposed to...
January 23, 2012 at 7:14 am
Viewing 15 posts - 1,006 through 1,020 (of 2,007 total)