Viewing 15 posts - 1 through 15 (of 148 total)
As far as I can see then, you're stuck with one of four options:
like
charindex
patindex
replace
The following shows each and some test results. From the looks of it, there isn't much difference...
March 6, 2014 at 2:57 am
Not a silly question Dwain. The ordering was supposed to be by Score, not Person. Which would make more sense.
March 6, 2014 at 2:05 am
Goodness me, so they are. Oh. *cough*
:blush:
March 5, 2014 at 8:33 am
Have you thought about using a full text index? It might be helpful in identifying records with links. You'd need to be careful with which stemming characters you use to...
March 5, 2014 at 8:29 am
Interesting this. Intuitively, my head says that pre-calculating the max value should be more efficient when compared with using a correlated subquery:
declare @MaxId int
select @MaxId = max(col4) from #TableB
insert #TableB...
February 20, 2014 at 7:46 am
You could expand the hierarchy (i.e. create a direct relationship between each node and all of its parents) and then run your queries against the expanded hierarchy.
This example does...
February 20, 2014 at 6:26 am
Hi all,
Sorry for the delayed response. Comments as follows:
pietlinden
Soundex doesn't really do the job here. As an example:
select soundex ('Dave') = D100
select soundex ('David') = D130
happycat59
Fuzzy lookup doesn't provide me...
October 21, 2013 at 6:46 am
August 2, 2013 at 2:16 am
I figured updating this might help someone sometime.
Creating the replication agent job manually didn't work. The job itself could be executed, but it didn't do anything and didn't result...
July 2, 2013 at 11:05 am
Well that's a different case, clearly. If you do this, you'll have to set up replication on the restored database. Then I'd probably just drop and recreate the subscriber tables...
June 30, 2013 at 6:11 am
Assuming that your backup will contain the most recent data for the tables, then you shouldn't need to do anything. If the data in the restore is different to the...
June 25, 2013 at 9:42 am
Hi abhij33t,
It isn't really clear what you are intending to do. Are you dropping and recreating the database?
Regards, Iain
June 25, 2013 at 9:07 am
I operate much better at HW level 🙂
I guess I should have glanced at the visit stats before throwing around my egregious accusations ;-D
November 29, 2012 at 3:23 pm
Think of a cte as another type of table variable or temp table, that instead of lasting for the duration of the session just lasts for one query. They're useful...
November 29, 2012 at 3:09 pm
<hit the post button in error>
November 29, 2012 at 2:54 pm
Viewing 15 posts - 1 through 15 (of 148 total)