Forum Replies Created

Viewing 15 posts - 796 through 810 (of 907 total)

  • RE: Maintenance Plan - Scripting

    Yes it might be true you can't build the script, although it is really easy to do it manually, and if I needed to move maintenance plans around it would...

  • RE: Selecting rows in groups

    This is also a kludge, but at least the original table stays intacked and no views.

    This example avg's every two royalties together in the pubs.dbo.title table.

    use pubs

    create table #temp (id...

  • RE: Triggers: Insert or Update?

    Guess that's one more HACK to add to my list. Thank you for the feedback.

    [/quote]

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at...

  • RE: User-defined system stored procedures

    If you want your regular select statement to run against the database from where the SP is executed your store procedure needs to be a system stored procedures, instead of...

  • RE: sp_spaceused for all databases (in 6.5)

    Since I don't have 6.5 I really don't know what your problem might be. I would suggest you review sp_Msforeachdb code to determine exactly what the command is that...

  • RE: Calculation on a computed column

    Another possible solution would be to have a insert and update trigger that would update the [TEST] column thu1.CustID + 1 from the inserted table.

    Gregory Larsen, DBA

    If you looking...

  • RE: sp_spaceused for all databases (in 6.5)

    If you run:

    EXEC sp_Msforeachdb "EXEC sp_spaceused"

    You get the output for the same datbase over and over again, since sp_spaceused runs in the context of the current database. Now if...

  • RE: How to Remove CaseSensitive in SQL 7.0?

    Bummer.....

    You will need to re-install SQL Server to change the case preference, and then reload your database.

    Sorry to be the bring you bad news.......

    Other option might be to DTS your...

  • RE: Nightly Failed Jobs Report

    Good Idea. I'm working on retrofitting my report process and other automated DBA process to run from a single server and monitor multple servers. I also am having...

  • RE: SQL.LOG

    I'm not really sure that SQL.LOG is. I think someone thought is was a transactionlog associated with a database. I'm not sure. Can you tell me what...

  • RE: SQL.LOG

    That would be sp_detach_db. Is SQL.LOG really a transaction log for a database?

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

  • RE: Calculation on a computed column

    Your computed column can be a noncomputed column name, constant, function, variable, and any combination of these connected by one or more operators. So possibly this would work for...

  • RE: Rename database name

    You might try creating a backup device that points to the network backup device, and then restore from that backup device you defined.

    Gregory Larsen, DBA

    If you looking for SQL Server...

  • RE: Start up MSSQLServer

    So did it just not start? Have you looked in the LOG directory at the ERRORLOG file to see if there was some hint as to why the service...

  • RE: Start up MSSQLServer

    What exactly is the error message you are getting?

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

Viewing 15 posts - 796 through 810 (of 907 total)