Viewing 15 posts - 8,881 through 8,895 (of 13,469 total)
you need to do two things;
you'll need a Tally Table so you have all the possible values for your comparison;
second , you have to get your data into a table,...
August 25, 2010 at 11:03 am
dtopicdragovic (8/25/2010)
August 25, 2010 at 9:16 am
my table is similar, where we have an ID, cityname,state;, witht he PK being on the identity column ID, but with a unique constraint on cityname,state; at least in the...
August 25, 2010 at 8:34 am
one of the options when you do a full backup is the "Copy Only Backup" command, which allows you to take a full backup without disrupting the existing trnasaction/differential backups...
August 25, 2010 at 7:13 am
i know SSIS is built for this, but I always end up using what i know well...like you suggest, i do it the way you describe: bulk insert into a...
August 25, 2010 at 3:30 am
i believe the error you are seeing is because the service MSDTC (Distributed Transaction Coordinator)
must be running on both servers in order to support the cross instance transaction; you'll need...
August 25, 2010 at 3:24 am
low hanging fruit, my friend; so easy i couldn't resist 😀
August 25, 2010 at 3:15 am
looks like all you are missing is the FROM clause:
update ct_user
set dbo.nt_name = [ct_users1$]._nt_name
FROM [ct_users1$]
where dbo.ct_user.name = dbo.[ct_users1$]._staffName
August 25, 2010 at 3:07 am
i've done something similar two differnet ways; i ended up making an application because i had more control;
you can get a list of servers several ways, form osql to using...
August 24, 2010 at 12:24 pm
the devil is in the details, so "it depends"
this:
/*
DO SOME SQL LOGIC
*/
depedning on what that is doing, or going to do, you might not need a loop or tally table...
August 24, 2010 at 6:19 am
show us the script you are using...are you tal\king into consderation non-standard database names?
ie select * from [My Database With Spaces Or a Reserved Word].dbo.sys.objects?
August 23, 2010 at 11:27 am
you have to define a table with the proper columns before you call the procedure.
if your proc, which is using dynamic sql, returns a different number of columns depending on...
August 23, 2010 at 10:03 am
that would limit all connections, whether from your web app or form Management Studio; remember your web server will try too pool connections, so it'll be reusing some of...
August 23, 2010 at 9:03 am
Denesh Naidoo (8/23/2010)
Working on SQL Server 2005.
Have a query that has a WHERE clause as follows:
WHERE (Documents.Flags & 0x18)=0
Can someone please explain the & 0x18 part which I have...
August 23, 2010 at 7:48 am
monietamarind (8/23/2010)
August 23, 2010 at 7:31 am
Viewing 15 posts - 8,881 through 8,895 (of 13,469 total)