Viewing 15 posts - 1,171 through 1,185 (of 2,038 total)
Paul White (4/30/2009)
I don't normally ignore Gail's requests, but in this case, I could not resist:http://www.sqlservercentral.com/Forums/FindPost708104.aspx
Ensure your sarcasm detectors are buffered against overload before reading.
Paul
Good answer! I thought about five...
April 30, 2009 at 3:38 pm
Paul White (4/30/2009)
I...
April 30, 2009 at 3:31 pm
Hi
tschilling (4/30/2009)
April 30, 2009 at 3:08 pm
Hi
I think you downloaded the wrong version 😉
Follow this link and download the "CI" databases:
http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004
Greets
Flo
April 30, 2009 at 3:03 pm
I confirm all other posts. More information imply better answers. Maybe have a look to the link in my signature.
For now a very basic way to handle this:
DECLARE @t TABLE...
April 30, 2009 at 2:41 pm
Due to your severity -1. Use something between 11 and 19 to get it work.
For further information see BOL for RAISERROR
Greets
Flo
April 30, 2009 at 2:35 pm
If the postfix is always to characters use this:
SELECT * FROM sys.databases WHERE name LIKE '%/___' ESCAPE '/'
If only a "_" has to be found use this:
SELECT * FROM sys.databases...
April 30, 2009 at 2:13 pm
Hi
If you just mean SELECT from sys.databases try this:
SELECT * FROM sys.databases WHERE name LIKE '%/_PA' ESCAPE '/'
Otherwise you should provide more information 😉
Greets
Flo
April 30, 2009 at 2:07 pm
Correct. If there are only one or two additional status to be deleted it could become part of the CASE-clause. If there are more I would probably suggest a mapping...
April 30, 2009 at 2:04 pm
GilaMonster (4/30/2009)
This may be of interest to you.http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
Hi Gail
Also thanks a lot from my side! 🙂
Greets
Flo
April 30, 2009 at 1:59 pm
Apologize twice...
1st) I didn't see Lynn's answer
2nd) I forgot the "WHERE Status = 'Completed'" in my statement. Just corrected.
Greets
Flo
April 30, 2009 at 1:45 pm
Hi
I hope I got you. Try this;
DECLARE @t TABLE (Id INT NOT NULL IDENTITY, OrderId INT, DeliveryDate DATETIME, Price Money, UnitId INT, Status VARCHAR(100))
INSERT INTO @t
...
April 30, 2009 at 1:42 pm
Hi
Usually you should avoid functions in the WHERE clause to ensure better index usage.
What about OR? Try this:
DECLARE @t TABLE (Id INT NOT NULL IDENTITY, AnyGuid UNIQUEIDENTIFIER)
INSERT INTO @t
...
April 30, 2009 at 1:22 pm
Hi Rock
I'm not completely sure if I got you, but I think you want to get this result from your dynamic SQL:
SELECT column1 + '_' + column2 FROM YourTableFromOtherTable
So you...
April 30, 2009 at 12:21 pm
Viewing 15 posts - 1,171 through 1,185 (of 2,038 total)