Forum Replies Created

Viewing 15 posts - 20,941 through 20,955 (of 26,490 total)

  • RE: Why is SQL requiring an index hint?

    Could you provide the code (stored proc and function), table DDL (target table for the stored proc and the UDF)?

    There may be a better way, but we'd need to see...

  • RE: Transaction log filling up

    amina omar (1/23/2004)


    why does the reindex job fill up the t_log?

    The reindex operation is a fully logged operation, that is why it writes to the transaction log. If you...

  • RE: String Function Help for address formatting

    Check out Books On-Line (BOL). You want the REPLACE() function.

  • RE: What is the reason of the difference in treatment of user-defined function call statement on different servers?

    Need more information. What versions of SQL Server are being run on the two servers and what is the database compatibility modes on the databases in question?

  • RE: Query Help

    (CONVERT(VARCHAR(10), a.Stage_LoadDate, 112) = CONVERT(VARCHAR(10), GETDATE(), 112)

    OR CONVERT(VARCHAR(10), b.Stage_LoadDate, 112) = CONVERT(VARCHAR(10), GETDATE(), 112)

    OR CONVERT(VARCHAR(10), c.Stage_LoadDate, 112) = CONVERT(VARCHAR(10), GETDATE(), 112)

    OR CONVERT(VARCHAR(10), d.Stage_LoadDate, 112) = CONVERT(VARCHAR(10), GETDATE(), 112))

    Try...

  • RE: How Can I stop SQL Server Service from a job??

    Jeremy Brown (5/18/2009)


    Not to belabor the point but I think the OP stated that the requirement is to stop sql server by his management. As much as I agree...

  • RE: Question with variables

    FelixG (5/18/2009)


    declare @cargo int

    set @cargo = 5

    Select distributorid, distributorname, distributorstatus,distributorcargo

    from Dist_Main M inner join Dist_Details D on

    M.DistPK = D.DistFK

    where distribuborcargo = @cargo

    and distributorstatus in ('9', '7','5','1')

    You should consider the use...

  • RE: Question with variables

    There may be other alternatives, but the only two I can think of are to create a temorary (dynamic) table and join to it in the FROM clause or create...

  • RE: SQL 2000 JOB

    that is where i also start when a job fails.

  • RE: displaying a meaningful name instead of a URL in a report.

    Please don't double post. Please reply on the this thread.

  • RE: Trigger Help

    Since an INSTEAD OF INSERT trigger fires prior to the actual INSERT, I'd actually vote for Gus's solution, but I also agree with him on the testing in a development...

  • RE: Trigger Help

    Not only that, but you are trying to insert records that have already been "inserted" into the table. I agree with Luke. You need to extend your primary...

  • RE: SQL BACKUP JOB Failure

    I agree with Steve. Also, I'd run separate backup processes for each database.

  • RE: please give a recursive query for my problem..

    The only two things missing from the above is your expected results and the code you have developed so far. Sorry, but the graph and your verbal description just...

  • RE: change where clause

    John Marsh (5/17/2009)


    Hello Sam,

    Generally speaking it is preferable to filter records at the Server, particularly in order to reduce Network Traffic.

    A slight alternative to Lynn Pettis’s suggestion would be to...

Viewing 15 posts - 20,941 through 20,955 (of 26,490 total)