Forum Replies Created

Viewing 15 posts - 23,581 through 23,595 (of 26,486 total)

  • RE: update

    This is actually simple, and I'm pretty sure you could find an example in Books Online. Why don't you check it out.

  • RE: DATEADD Function not working like I am expecting

    Sergiy's question

    Simple question.

    Last payment date is 29 Feb 2008.

    What must be the next payment date?

    29 Mar, 30 Mar or 31 Mar?

    Actually, quite reasonable, and I'd like to see your...

  • RE: Any one can send me answers for these

    There be trolls about!

  • RE: How do I pass in today's date into a stored procedure?

    Jack Corbett (11/21/2008)


    Now there's a Hall of Fame answer! :D:P

    What?? I didn't do nothin'. -- (inside joke, anyone interested in personal happens, PM me I'll fill you in)

  • RE: Update with Join?

    First, my first example was using a CTE called UneBookings to reduce what was Table B (original post, not modified) to one record per booking.

    This wasn't needed when what was...

  • RE: How do I pass in today's date into a stored procedure?

    Rod at work (11/21/2008)


    I'm trying a SQL Job step in which I want to call a stored procedure and pass in some parameters. One of them will be the...

  • RE: Conditional Where

    Just a suggestion, as I believe I read somewhere that 3 part naming of columns (schema.tablename.columnname) is being depreciated, you may want to look at dropping the dbo. from your...

  • RE: Function that finds Sundays

    Just my opinion, but any function offered here, really should be able to return the same value regardless of setting on indiviual servers. For example, the first solution offered...

  • RE: Stop TSQL from raising errors to caller

    How is the stored procedure inserting the data? Is it row by row or from another table?

  • RE: Find DDL time

    Also, from Books Online regarding sys.sysobjects:

    Important:

    If you use any of the following SQL Server 2005 DDL statements, you must use the sys.objects catalog view instead of sys.sysobjects.

    CREATE |...

  • RE: Find DDL time

    Maybe not, but sysobjects is for backward compatibility with earlier versions of SQL Server and could easily go away in future versions of SQL Server. I think I read...

  • RE: Out-of-Range Date Value Error

    Your problem is here:

    SET @dRetVal =...

  • RE: Update with Join?

    Without testing, this should work.

    UPDATE TableA SET

    MeetingID = B.MeetingID

    FROM

    TableA AS A

    INNER JOIN UniqueBookings AS B

    ...

  • RE: Update with Join?

    Could you report with corrected example? I'm having a Missouri moment and you need to Show Me.

    I think it should be easier if it is reversed.

  • RE: Find DDL time

    psangeetha (11/21/2008)


    Hi all,

    Below is the query I'm using to find the status of the objects,

    select name,status,refdate from sysobjects

    I know the refdate in this table is the date the...

Viewing 15 posts - 23,581 through 23,595 (of 26,486 total)