Viewing 15 posts - 1,066 through 1,080 (of 2,038 total)
Hi
I prefer the ESCAPE because I think it is more clean but it's your choice 😉
Greets
Flo
May 7, 2009 at 3:15 pm
Hi
"ORDER BY 1" means to order by "LA.Date" in your statement. You use a LEFT JOIN to your "LifeInfoAgentAudit" table where the "OwnerAgent" is stored. If your first dates don't...
May 7, 2009 at 2:45 pm
Lynn Pettis (5/7/2009)
Good catch Flo. I missed that one myself. I starting thinking about possible data issues.
Thanks Lynn! Did something likewise today at work and saw that something...
May 7, 2009 at 2:37 pm
You wrote "New Database". What about a backup and restore?
Greets
Flo
May 7, 2009 at 2:20 pm
Hi
Have a look to BOL for LIKE and search for the "ESCAPE" part.
Greets
Flo
May 7, 2009 at 2:19 pm
I confirm Barry. This seems to be impossible. The best sample was already supplied by Barry but what about comments? Constant text?
May 7, 2009 at 2:15 pm
Hi
Can't try because there are not test data 😉
Try this:
SELECT
[ColA] = CASE
...
May 7, 2009 at 2:09 pm
Duplicate. Please answers here:
http://www.sqlservercentral.com/Forums/Topic712399-149-1.aspx
May 7, 2009 at 2:04 pm
Hi
I got it. You have to specify an alias for the outer table. Since your table name is "holddups" and you refer it within your sub-query you cannot specify "NUM1...
May 7, 2009 at 2:01 pm
Alvin Ramard (5/7/2009)
Jack Corbett (5/7/2009)
Lynn Pettis (5/7/2009)
May 7, 2009 at 10:04 am
mjarsaniya (5/7/2009)
BEGIN TRANSACTION
SELECT * FROM UserStats WHERE UserID = @user-id
IF NOT EXISTS (SELECT * FROM UserStats WHERE UserID = @user-id)
BEGIN
INSERT INTO UserStats (UserID) VALUES (@UserID)
END
...
May 7, 2009 at 6:28 am
Google is still down
http://www.sqlservercentral.com/Forums/Topic711917-145-1.aspx?Update=1
Edited: Typo
May 7, 2009 at 6:11 am
Hi
Do you mean something like this?
DECLARE @t TABLE (Ip VARCHAR(20), Txt VARCHAR(30))
INSERT INTO @t
SELECT '10.1.30.48', '3GPM'
...
May 7, 2009 at 2:23 am
Thank you guys. I really thought I'm a bit slow on the uptake 😛
May 6, 2009 at 4:48 pm
Viewing 15 posts - 1,066 through 1,080 (of 2,038 total)