Viewing 15 posts - 5,806 through 5,820 (of 13,460 total)
it depedns on your source.
if you only have 3 firstnames,3 middlenames and 3 lastnames that is 3x3x3 = 81 unique combinations.in two million rows, that will repeat a lot.
if...
Lowell
March 13, 2012 at 10:28 am
a set based operation will be orders of magnitude faster than c#.
you need the three base tables, say FNAME,MNAME and LNAME.
the secret is to cross join the three agasint themselves,...
Lowell
March 13, 2012 at 10:11 am
Sean Lange (3/12/2012)
Lowell (3/12/2012)
...I've got a cute little "Schema Checker" program i wrote that does that for all objects, to help me with identifying versioning/development changes between databases.
That sounds...
Lowell
March 13, 2012 at 8:01 am
"Login failed for user ukk_admin"
means you connected to the server, so it's gotta be user/login related.
on the new server, did you CREATE LOGIN ukk_admin ?
if you restored a copy...
Lowell
March 12, 2012 at 3:31 pm
did you try specifying the specific port in the connection string?
for exmaple, if you changed the dynamic listeninc port below from 1711 (or whatever yours currently is) to port 14330...
Lowell
March 12, 2012 at 3:09 pm
we have additional columns in one of our databases, instead of rows.
so the application ends up displaying the column [descrip_en-us] of , say Row 1 for a product,
[descrip_fr-FR] for french,...
Lowell
March 12, 2012 at 2:11 pm
i also have this snippet for stripping comments via TSQL; if you could get that to be an inline function, you'll have it all;
the onyl way i could think of...
Lowell
March 12, 2012 at 11:16 am
to do it all in sql, you'd need a CLR for stripping comments out; then it could all be done via TSQL.
this would be my prototype to start with:
SELECT *...
Lowell
March 12, 2012 at 11:14 am
pallvi.pathania (3/12/2012)
Lowell
March 12, 2012 at 10:43 am
i do this in a programming language so i can use regular expressions;
There are two issues to look at...are two procs EXACTLY the same , character for character, or are...
Lowell
March 12, 2012 at 10:17 am
this would ignore colons and am/pm, i think...but it doesn't leave whitespace between a time and am/pm...
SELECT dbo.StripNonNumeric('Wednesday, 12:14 pm')
returns "12:14pm",, is that what you want?
you could get fancier on...
Lowell
March 12, 2012 at 10:10 am
also guilty of that here!

Lowell
March 12, 2012 at 9:26 am
i've done the same as what you are asking many times...moving data logic out of VB and into stored procs...post the code as an attachment, i'm sure we can give...
Lowell
March 12, 2012 at 9:17 am
ray here is an older Scalar function I have saved;
If I were doing it today, I'd convert it to an inline tableValue Function, but this would be quick;
you could also...
Lowell
March 12, 2012 at 8:53 am
haroon.md78 (3/12/2012)
I can not SQL stop services is that only way to get space back as it is prod server
Yes. The only way to get the space back is to...
Lowell
March 12, 2012 at 6:51 am
Viewing 15 posts - 5,806 through 5,820 (of 13,460 total)