Viewing 15 posts - 7,051 through 7,065 (of 7,187 total)
Paul
Here's a solution that doesn't use a numbers table. It will work in your situation but it may be fairly difficult to generalise!
First off, I assume you have a constraint...
June 15, 2006 at 4:49 am
Jeff
This (and other similar threads) seems to suggest that there is logging in tempdb. Don't know whether there's anything from Microsoft confirming this.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=13898&p=2
John
June 14, 2006 at 2:40 am
I'm not sure that this is the neatest or easiest way of doing it, but it should work:
(1) Using Enterprise Manager, create a job called something like "Event Notification 322"
(2)...
June 8, 2006 at 7:24 am
Sandesh
Try putting an N in front of all quoted text. Make sure that all variables have been declared as nvarchar. And get rid of those unnecessary qualifiers - that will...
June 8, 2006 at 2:46 am
Jonathan
Check the properties of the task and make sure you're not copying any users or logins. It sounds as if SQL Server is having difficulty copying a user or login...
June 7, 2006 at 6:42 am
I don't understand what you're asking. You can see the restored database under Databases in Enterprise Manager (you may need to refresh) and you can see the backup file in...
June 7, 2006 at 4:22 am
(1) If the database already exists on the destination server, make sure that nobody is using it and then right-click on it in Enterprise Manager. Otherwise, right-click on Databases.
(2) Choose...
June 7, 2006 at 2:25 am
Sandesh
Again, have your SP print the SQL it's going to execute. It'll be a lot easier to debug that way.
You don't need to qualify every mention of a column with...
June 7, 2006 at 1:39 am
This should do it:
select b.close_price, b.date, c.avg, c.year
from tenyearbond b
inner join cpi c
on datepart(year
June 6, 2006 at 9:21 am
You have a lot of dynamic SQL in that stored procedure. For troubleshooting purposes, try adding a PRINT statement before every EXEC statement so that the SQL that is about...
June 6, 2006 at 8:15 am
David
Not sure exactly what you're asking for, but here's a guess:
insert into MyDB.dbo.Abs (Tpc, Prp, Frwk, Fndgs, Title, Mthds)
select Tpc, Prp, Frwk, Fndgs, Title, Mthds from BackupDB.dbo.Abs
John
June 6, 2006 at 8:04 am
Rodney
That's right. If you don't want that, then the only thing I can think of is to create a job that checks for objects not owned by dbo and changes...
June 6, 2006 at 7:15 am
Biju
It looks as if the data impiort process uses temp tables. You need to expand your tempdb so that it can accommodate all the necessary objects. Right-click on tempdb in...
June 6, 2006 at 6:59 am
Have you looked at creating a DTS package? You can copy tables, users and other objects from one database to another.
John
June 6, 2006 at 4:54 am
Rodney
I take it you have added him the the db_ddladmin database role? All you need to do is have him create tables as follows:
create table dbo.NewTable (<column spec>
June 6, 2006 at 4:49 am
Viewing 15 posts - 7,051 through 7,065 (of 7,187 total)