Viewing 15 posts - 556 through 570 (of 607 total)
Hi Grant,
I ran a trace to get a deadlock graph but the xdl file is 0 Kb and I got the following message
Failed to initializa deadlock control.
There is an error...
August 30, 2012 at 3:20 am
Luis Cazares (6/5/2012)
If your columns behave as bit columns instead of behaving as int, there's no need for the case, you can simply add the columns.
you cannot add bits
June 5, 2012 at 7:59 am
CREATE TABLE #Findings
(
CName VARCHAR(100),
Soaps INT,
Paste INT,
Choclates INT,
Biscuit INT,
Pencil INT,
Pen INT
)
INSERT INTO #Findings
VALUES
('Customer1',1,0,0,0,0,0),
('Customer2',1,1,1,0,0,0),
('Customer3',1,0,0,0,1,0),
('Customer4',1,0,0,0,0,0),
('Customer5',1,0,1,0,1,0),
('Customer6',1,0,1,1,0,0),
('Customer7',0,0,0,0,0,1),
('Customer8',0,0,0,0,1,0),
('Customer9',0,1,0,0,0,0)
DECLARE @NbrProducts int = 1;
SELECT*
FROM#Findings
WHERECASE WHEN Soaps > 0 THEN 1 ELSE 0 END +
CASE WHEN Paste >...
June 5, 2012 at 6:45 am
Jeff Moden (6/4/2012)
June 4, 2012 at 2:20 pm
@jeff, as you can see from my reply to Joe the architecure is not mine, set in concrete and causes me great anguish and pain. Your reply is,...
June 3, 2012 at 6:06 pm
CELKO (6/3/2012)recorc
record
CELKO (6/3/2012)stratus
status
CELKO (6/3/2012)
Even for a skeleton, this was bad code; we do not use bit flags, IDENTITY as a fake mag tape recorc...
June 3, 2012 at 5:55 pm
Jeff Moden (5/31/2012)
Artoo22 (5/31/2012)
Thanks Mark, that works nicely.Just checking... do you know HOW it works?
Well, I have learned that there aren't many people, if anyone at all, who know it...
May 31, 2012 at 3:28 pm
Divine Flame (5/9/2012)
manju.ccc (5/9/2012)
Thank you guys.I solved the porblem.
:-D:-D
Care to explain what was the issue 😉 ?
:Whistling:
May 9, 2012 at 7:34 am
Firstly, SQL Server already stores created_date.
SELECT name, create_date, modify_date
FROM sys.tables
Secondly, where's Joe? :pinch:
May 8, 2012 at 8:50 am
Using -b is not entirely correct, the load is still logged, however the log file will be reused for each batch if you are using the simple recovery model.
To achieve...
April 23, 2012 at 5:19 am
CELKO (3/19/2012)
March 19, 2012 at 2:39 pm
Viewing 15 posts - 556 through 570 (of 607 total)