Forum Replies Created

Viewing 15 posts - 7,051 through 7,065 (of 7,185 total)

  • RE: event id 322 and 17052

    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)...

  • RE: Line 1: Incorrect syntax near

    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...

  • RE: Copying Tables from one Database to Another

    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...

  • RE: How to restore BackUP files in Sql Server 2000 with enterprise Manager

    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...

  • RE: How to restore BackUP files in Sql Server 2000 with enterprise Manager

    (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...

  • RE: Line 1: Incorrect syntax near

    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...

  • RE: can someone help me with a query?

    This should do it:

    select b.close_price, b.date, c.avg, c.year

     from tenyearbond b

     inner join cpi c

     on datepart(year

  • RE: Line 1: Incorrect syntax near

    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...

  • RE: SQL server select and update

    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

  • RE: Object Owner - mapping to dbo

    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...

  • RE: Filegroup error

    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...

  • RE: automating SQL Server database refresh

    Have you looked at creating a DTS package?  You can copy tables, users and other objects from one database to another.

    John

  • RE: Object Owner - mapping to dbo

    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&gt

  • RE: Calculate Ranking on Records.

    Something like this?  You'd have to test it for performance if you have thousands or millions of programs. I haven't done the concatenation to show 1/4, 2/4 and so on...

  • RE: What datatype is recommended for joining tables

    Murtaza

    I would imagine that joining on such a wide column would cause performance problems, especially as your table gets to millions of rows instead of thousands.  Assuming you have a...

Viewing 15 posts - 7,051 through 7,065 (of 7,185 total)