Viewing 15 posts - 37,396 through 37,410 (of 59,098 total)
Toby Harman (8/6/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2010 at 3:41 am
srweal (5/6/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2010 at 3:40 am
KBSK (8/5/2010)
KBSK (8/4/2010)
Jeff Moden (8/2/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 9:25 pm
Heh... of course, how much are you actually going to trust an article that gives the following kind of bad advice??? :Whistling:
C. Searching for all datetime2 values in a day
•The...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 9:13 pm
drew.allen (8/5/2010)
To add and subtract for all date and time data types, use DATEADD and DATEDIFF.That's good enough reason for me.
I guess it's a matter of how you read something...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 8:56 pm
Well done on the handle change, Minto...
Getting back to your original problem... the recommendation that a lot of people make is to do daily full backups and transaction log...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 8:38 pm
skcadavre (8/5/2010)
Steve Cullen (8/5/2010)
Note that you can do this:SELECT 1 WHERE NULL is NULL
Indeed. Or even
SELECT CASE
WHEN NULL IS NULL...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 8:28 pm
skcadavre (8/5/2010)
Jeff Moden (8/5/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 8:23 pm
gah (8/3/2010)
If its "wrong" to use the quiirky update in this manner....
Absolutely not wrong. Well done, Graham. Heh... I was going to write a second article on...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 8:11 pm
TheSQLGuru (8/3/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 8:03 pm
Sanjay-940444 (8/5/2010)
but if we are using varchar datatype sql s. will reserve space as much required for actual value.Any say??
Yep... how many bytes does it take to store the number...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 7:41 pm
Novicejatt (8/5/2010)
I don't want to write a query for every week. I want that the query should recogonise any week like say within a year(or the date range specified).
I just...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 7:34 pm
Michael.D (8/5/2010)
That's what I figured.
Out of curiosity, does it work as advertised in say, the Developer or Enterprise editions?
What a stupid little nicety to disable in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 7:29 pm
monkeytesiorna (8/4/2010)
CREATE TRIGGER t_del_emp ON [dbo].[empmas]
FOR DELETE
AS
declare @empid varchar(10)
SELECT @empid=d.empid FROM DELETED d
declare @empdetid INT
IF EXISTS(SELECT * FROM empdet WHERE empid=@empid AND deactivated is null)
BEGIN
SET @empdetid = (SELECT...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 7:21 pm
Steve Jones - Editor (8/5/2010)
Wish me luck. My PASS Board interview is tomorrow. We'll see if I'm still in the running after that.
Break a leg, Steve. You'll do well.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2010 at 7:13 pm
Viewing 15 posts - 37,396 through 37,410 (of 59,098 total)