Viewing 15 posts - 1,981 through 1,995 (of 2,006 total)
Once I've gone over the scripts created, I'll be speaking to the boss about how much time it saved. . . fairly sure that the time saved equals far more...
May 12, 2010 at 8:51 am
The tool shows me the differences. . . but without creating the "alter" scripts it's not much better than my manual option. I've hit 145 differences between 2, 83 between...
May 12, 2010 at 8:27 am
Since ANSI_NULLS affects the result, and since the default means we get the desired option - only those that simply input the query are going to be annoyed. Anyone that...
May 10, 2010 at 6:08 am
Try a batch file ?
for %%f in(*.sql) do sqlcmd -s %servername -d %databasename -u %username -p %password -i "%%f"
May 10, 2010 at 3:52 am
Wow. If any of you ninjas want to spend a couple of months answering this it'd be great :hehe:
May 6, 2010 at 6:21 am
Dave Ballantyne (5/6/2010)
In any case calling a Function (scalar udf) a million time is bad news.
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/10/15/udf-overhead-a-simple-example.aspx
That was a very interesting read, thankyou 🙂
This is my random months table - 1,000,000...
May 6, 2010 at 6:10 am
I don't understand why the use of a case when a simple function would do the job. . .
My original suggestion fulfills the requirements: -
DECLARE @getmonth TINYINT,
...
May 6, 2010 at 4:23 am
Could you do something like this?
DECLARE @getmonth TINYINT,
@datestring VARCHAR(20),
@input ...
May 6, 2010 at 2:39 am
vimal_panchal (4/1/2010)
ALTER TABLE tblProducts ADD isDeleted bit
However I want to prevent the...
April 22, 2010 at 7:20 am
MANU-J. (4/22/2010)
Could you please shar that script, I am in need of it.Thanks,
MJ
I once did an SSIS package to add lines to 300 database scripts. With some modification, this'd work...
April 22, 2010 at 3:30 am
Same here, sort of.
I signed up here with a silly question brought about due to me being forced to take on some DBA duties while he was on long-term sick....
April 20, 2010 at 8:56 am
Should you choose to do it as an SSIS package, this C# should get you started. It's untested and written without a compiler so I can't be certain all of...
April 20, 2010 at 6:47 am
If this was a task I'd been given, I'd be writing an SSIS package with a foreach loop and a C# script component. Our DBA would never allow SQLCLR, for...
April 20, 2010 at 5:22 am
Always nice to be given the data so we can experiement. A better way of posting the information we need to be able to help is as I've done here...
April 20, 2010 at 3:54 am
Viewing 15 posts - 1,981 through 1,995 (of 2,006 total)