Forum Replies Created

Viewing 15 posts - 106 through 120 (of 488 total)

  • RE: Yet another Dynamic SQL question

    Because without the parenthesis, SQL Server thinks you are providing the name of a stored procedure and it can't find one with that name.

  • RE: Yet another Dynamic SQL question

    Sorry I didn't catch this the first time around.

    You need to change the line that reads:

    EXEC @select_stmnt

    to:

    EXEC (@select_stmnt)

  • RE: Backup using Replication

    Merge replication might be what you want then.  I just looked at ours and the tables we have merg replication on have the primary key on the publisher and subscriber...

  • RE: Using functions in Procedures

    We have found that functions in stored procedures work fine if the result set using the function is small.  The larger ones tend to run too slow.  I would simply...

  • RE: Removing IDENTITY Constraint

    If doing it manually is an option, then you can use Enterprise Manager.  If you want a script to remove it you can go to the design view in Enterprise Manager,...

  • RE: How to modify all DTS Packages by using T-SQL?

    I spend time organizing the layout of my DTS packages and would not want them arbitrarily changed.  If yours are organized for ease of understanding them then your best option...

  • RE: Help us Improve our Logo

    I like #3.

  • RE: Temp Table Name

    I would try using a local temp table.  It should work for you as long as only one connection (the one that created the temp table) needs access to that...

  • RE: Backup using Replication

    I have used transactional replication to create a copy of a server.  I don't know if this is the best way.  I have heard about log shipping and it could...

  • RE: Temp Table Name

    If you are using local temp tables then SQL Server ensures each name is unique. 

     

    If you are using global temp tables then you must ensure the names are unique.

     

    How...

  • RE: Yet another Dynamic SQL question

    In your cursor you declared one column in your select list.  Then you use the FETCH command to try and get the cursor to fill two variables with values from...

  • RE: Question of the Day for 05 Feb 2004

    I too find that xp_logevent logged to the SQL Server log and to the Event Viewer Application Log.  I have never heard of Windows Application Application Log.  Can someone please...

  • RE: The DBA Code of Ethics

    Another one came to mind.

    A DBA should ensure the simplest code to do the job is being used.  Sure, its nice to know VBScript and use it in DTS packages...

  • RE: The DBA Code of Ethics

    In my opinion, special mention should be made about notifications when something goes wrong.  This probably should be a part of Canon 3.

    A DBA must do everything they can to...

  • RE: ACCESS_VIOLATION restarts SQLServer Service

    Our DBA just opened a ticket with Microsoft.  Hopefully, we'll get some useful info from them.

Viewing 15 posts - 106 through 120 (of 488 total)