Viewing 15 posts - 5,431 through 5,445 (of 7,168 total)
LutzM (7/16/2011)
You could also replace UNION with UNION ALL since due to the different values for s.objecttype in each UNION statement there isn't any need to check for duplicates.
+1000
Switching...
July 19, 2011 at 2:31 pm
What is migration_db? Is this a one-time migration? You have a design or a data issue or both if your regularly matching a nullable column to another and always treating...
July 19, 2011 at 2:25 pm
This vaguely sounds like one of the old encryption/hashing methods in SQL 2000 and before that have long-since-been-dropped-from-the-product. Which version of SQL Server were you on at the time?
July 19, 2011 at 2:20 pm
Expect scans:
DECLARE @temp VARCHAR(MAX)
SET @temp = 'aaa'
SELECT *
FROM SampleData
WHERE ',' + value1 + ',' LIKE '%,' + @temp + ',%'
July 19, 2011 at 2:12 pm
Stamey (7/19/2011)
July 19, 2011 at 1:37 pm
GSquared provided the goods.
I am curious though, do you mind sharing the FTS piece of it? Is it still relevant for the overall solution?
July 19, 2011 at 1:11 pm
Excellent! The problem domain is set. Have a go at this using the techniques outlined in the article. It has everything you need to arrive at a solution to this...
July 19, 2011 at 1:00 pm
tleezer (7/19/2011)
--Enable xp_cmdshell
EXEC [master].[dbo].[sp_configure] 'show advanced options', 1
RECONFIGURE
GO
EXEC [master].[dbo].[sp_configure] 'xp_cmdshell', 1
RECONFIGURE
GO
--Execute all sql files in dir
EXEC xp_cmdshell 'for...
July 19, 2011 at 12:53 pm
jmoldover (7/19/2011)
System_NameManufacturerModelTypeOSFunction
XXX-G-BCKM-001HP CompanyDL385 ServerWin2003BCKMS
XXX-G-CLSA-001HP CompanyDL385ServerWin2003CLSA
XXX-G-CLSA-002HP CompanyDL385ServerWin2003CLSA
XXX-G-CLSA-003HP CompanyDL385ServerWin2003CLSA
...
and, filtering on the Function field, turn it into the following:
Attribute XXX-G-CLSA-001XXX-G-CLSA-002XXX-G-CLSA-003
ManufacturerHP CompanyHP...
July 19, 2011 at 12:26 pm
Make sure you're in compliance with CAN-SPAM too. "Correcting" an email address on behalf of the person who provided the data after it's been collected and the person is no...
July 19, 2011 at 12:06 pm
GSquared (7/19/2011)
If the DB Admin will be doing the actual query tuning himself, that's a different question entirely. But that's not DB Admin. That's "Lead Database Developer" or...
July 19, 2011 at 12:01 pm
Alliances don't need to be a negative thing, or cast in a negative light. Unified messages to customers and clear direction amongst team members can be invaluable in the heat...
July 19, 2011 at 11:50 am
bopeavy (7/19/2011)
opc.three (7/19/2011)
The Dixie Flatline (7/19/2011)
--------------------------------------------------------------------------------
Call the people at SETI.
Seriously, I think T-SQL may be the wrong tool for the job of discovering undefined patterns....
July 19, 2011 at 11:42 am
Doesn't mean we can't discuss it...John will be back later if performance concerns outweigh the next deadline.
SB crossed my mind too. I was thinking of external activation calling a compiled...
July 19, 2011 at 11:38 am
The Dixie Flatline (7/19/2011)
Seriously, I think T-SQL may be the wrong tool for the job of discovering undefined patterns. This sounds like...
July 19, 2011 at 11:12 am
Viewing 15 posts - 5,431 through 5,445 (of 7,168 total)