Viewing 15 posts - 5,806 through 5,820 (of 13,468 total)
Paul take a look at this post here in the Discussions thread;
http://www.sqlservercentral.com/Forums/FindPost1079779.aspx
That post ( a few posts above this) has a much more modern scripting style that correctly takes into...
March 14, 2012 at 6:30 am
Cadavre (3/14/2012)
This will create 1,000,000 rows of pseudo-random unique firstName, secondName, e-mail address and mail address.
I like your example Cadavre, but there's a possbility of creating names that contain unintenteded...
March 14, 2012 at 6:23 am
you could do it with a suite of DDL triggers, but would it not be easier to tell the developers not to do it.
it seems a little extreme to do...
March 13, 2012 at 3:40 pm
sure just add something simple like Firstname + '.' + Lastname + '@fake.com' to generate John.Smith@fake.com
March 13, 2012 at 11:02 am
no tool, documented or not that i ever saw to do this;
i've had to script this out manually, which is a bitc...er i mean .. rather involved.
here's my old mental...
March 13, 2012 at 10:50 am
John Chiu (3/13/2012)
Application group like 'control' and don't want use SSIS
ahhh they are scared of the claw SSIS!

March 13, 2012 at 10:40 am
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...
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,...
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...
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...
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...
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,...
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...
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 *...
March 12, 2012 at 11:14 am
pallvi.pathania (3/12/2012)
March 12, 2012 at 10:43 am
Viewing 15 posts - 5,806 through 5,820 (of 13,468 total)