Viewing 15 posts - 34,741 through 34,755 (of 39,725 total)
Not directly. You can use dynamic sql,
select @cmd = 'alter table mytable add ' + (year + 1) + ' int' ...
exec ( @cmd)
July 22, 2004 at 9:53 am
This isn't an endorsement, but some thoughts.
I tested SQLZip and Litespeed (v2.x) a few years back. SQLZip had better compression, but used lots of CPU. Litespeed gave me a good...
July 22, 2004 at 9:39 am
I'd detach, then rename and attach as you mentioned. Not sure if there's an easier way. Don't forget this is a fairly big change. All connection string code needs to...
July 22, 2004 at 8:34 am
great questions. Ones I han't thought of. I'll ping Andy for some clarification.
July 22, 2004 at 8:19 am
There might be, but how do your determine a 4 column table has columns 1,2,4,5 and not 1,2,3,4? If you can explain that logic, I'm sure someone can generate some...
July 22, 2004 at 7:55 am
The permissions to start SQL Server should come from the Windows service permissions. Stopping can come frmo SQL Server or Windows, depending on whether you can issue a stop command...
July 22, 2004 at 7:46 am
Wow, you guys are tough. This was submitted and I suspect my poor check box marking skills resulted in the wrong answer be listed as correct.
July 21, 2004 at 11:27 am
Thanks for this. Along those lines, database backups don't truncate or clear the log, so you need to be sure you add those in as well if you are not...
July 20, 2004 at 10:39 am
bcp out some sample rows/tables, load into Word, Tools |+ Word Count ![]()
The multiple out for an estimate. Believe me, no one is...
July 16, 2004 at 4:07 pm
Doesn't happen to me. 3 different XP machines. Perhaps did you log in with a different profile?
July 16, 2004 at 8:56 am
Not sure that's a valid date. I typically use 1/1/1900 or some other trigger date to mark invalid dates. Can you search and replace in the text file?
July 16, 2004 at 8:30 am
Use a simple Data Transform to import the file from text to a SQL table using DTS. Then use T-SQL to clear the data.
update sql.equiptable set status_code = 0, space,...
July 16, 2004 at 8:28 am
I very, very rarely had anything every come up in checkdb, so I tend to run is weekly. That being said, if you can, as Alan mentioned, nightly before backups...
July 16, 2004 at 8:17 am
osql /? will give you help. /E is for trusted connections using Windows auth.
July 16, 2004 at 8:16 am
Viewing 15 posts - 34,741 through 34,755 (of 39,725 total)