Forum Replies Created

Viewing 15 posts - 661 through 675 (of 920 total)

  • RE: Stored Procedure Fix

    Jeff's right.  There are goofy things you have to do to limit conflicts with this scenario.  Artificially long rows to force each entry onto it's own page, no indexes, and...


    And then again, I might be wrong ...
    David Webb

  • RE: Stored Procedure Fix

    I'm not sure why you're doing the dynamic SQL.  What about:

    CREATE PROCEDURE [dbo].[SEQVAL] @tblname varchar(100) AS

    Begin tran

    UPDATE CASE_NUM_SEQ SET CURRVALUE = CURRVALUE + INCR WHERE SEQ_CD = @tblname

    SELECT CURRVALUE FROM CASE_NUM_SEQ WHERE SEQ_CD...


    And then again, I might be wrong ...
    David Webb

  • RE: Using an UNC name in wScript.Shell

    Does the account that SQL Server is running under have permission to the file on the other server?


    And then again, I might be wrong ...
    David Webb

  • RE: Getting syntax error in my stored procedure.Pls help URGENT!!!

    Shouldn't this:

    dbo.tblVENDOR ON dbo.tblRAIL.SuperClientVendorId = dbo.tblVENDOR.VendorId ON dbo.tblSPIKE.RailId =

    be this:

    dbo.tblVENDOR ON dbo.tblRAIL.SuperClientVendorId = dbo.tblVENDOR.VendorId AND  dbo.tblSPIKE.RailId =


    And then again, I might be wrong ...
    David Webb

  • RE: log & backup files change w/o activities

    The server still does checkpointing so there would be some very minimal log activity. 

    Are there any other maintenance plans that run against the databases?  They could produce both log...


    And then again, I might be wrong ...
    David Webb

  • RE: Run job automatically, table is empty; run it by hand, table is full

    When you run it, you run it under your id.  When it runs automaticaly, it runs under the id you have set up for the SQL Server Agent.  Make sure...


    And then again, I might be wrong ...
    David Webb

  • RE: Rule of Thumb in terms of good programming practice

    This is only required if the names contain special characters that would otherwise render them unusable.  The practice guidelines for our shop state that such names should not be used...


    And then again, I might be wrong ...
    David Webb

  • RE: Ten Ways To Lose Your DBA Job

    I have one to add to the list:

    Being able to explain what you did (or need to do) to people who don't know much about database management systems.

    In my past...


    And then again, I might be wrong ...
    David Webb

  • RE: Importing .CSV File

    There's probably a way to do this with native MS technology, but the way I did this in my last life was to download one of the freeware sets of...


    And then again, I might be wrong ...
    David Webb

  • RE: Performance Issue

    If you can only send in one property id at a time, why do

    WHERE

    SA_PROPERTY_ID

    IN (' + @PropertyID +...


    And then again, I might be wrong ...
    David Webb

  • RE: Question about retrieving text between tags

    How about:

     

    declare

    @auxdata varchar(100)

    set

    @auxdata = 'TAGmanager_nameTAG MR XX TAG/manager_nameTAG'

    SELECT


    And then again, I might be wrong ...
    David Webb

  • RE: Is it possible to format a COMPUTE clause?

    First off, I'd recommend not using float for real money.  Float is an approximate data type and not very good for keeping dollars and cents straight.  Are the data types...


    And then again, I might be wrong ...
    David Webb

  • RE: LiteSpeed backup for SQL 2000

    We're using LiteSpeed quite successfully.  I believe it's delivered with a tool that will uncompress a compressed backup so it can be restored through a normal restore process. 


    And then again, I might be wrong ...
    David Webb

  • RE: Syntax?

    Put the 'set' before the 'join' and set the table2 column like:

     

    UPDATE Table2 SET Table2.ID = Table1.idcreated INNER JOIN Table1 ON Table2.Description = Table1.Description


    And then again, I might be wrong ...
    David Webb

  • RE: SQL2000 Fast Query Slow Insert

    Is there a trigger on the table you are inserting into?  Are there referential integrity constraints?


    And then again, I might be wrong ...
    David Webb

Viewing 15 posts - 661 through 675 (of 920 total)