Forum Replies Created

Viewing 15 posts - 17,821 through 17,835 (of 26,484 total)

  • RE: My code

    Since it is double posted, I'll say it again here for clarity.

    What's the point?

  • RE: My code

    That's nice. What's the point?

  • RE: i need logic to get the days for most recent week that ends with Friday

    Something like this?

    declare @TestDate datetime;

    set @TestDate = '2009-12-19';

    select dateadd(wk,datediff(wk,0,@TestDate + 1),-9),dateadd(wk,datediff(wk,0,@TestDate + 1),-3)

    set @TestDate = '2009-12-24';

    select dateadd(wk,datediff(wk,0,@TestDate + 1),-9),dateadd(wk,datediff(wk,0,@TestDate + 1),-3)

  • RE: Are the posted questions getting worse?

    Alvin Ramard (12/20/2009)


    I want a hippopotamus for Christmas

    Only a hippopotamus will do

    Don't want a doll, no dinky Tinker Toy

    I want a hippopotamus to play with and enjoy

    🙂

    Cute, Alvin. Just...

  • RE: SQL Server Job Failed

    Something changed between the 16th and the 17th. Working code doesn't suddenly stop working for no reason. Something in the environment, the data, or the code changed. ...

  • RE: SQL Server Job Failed

    sureshdeenu (12/18/2009)


    The job was running till Dec16 2009, it was started failing from dec 17th. pls help wht is causing the problem.

    Job worked on the 16th, failed on the 17th....

  • RE: 32 bit sql server on 64 bit OS

    From what I can tell, haven't done it myself as we are running x64 SQL on our x64 OS's, is the 32 bit SQL will run just fine on x64...

  • RE: Are the posted questions getting worse?

    So, Steve, going tell us about the upgrade?

  • RE: SQL in code vs. stored procedures

    Knowing what I know (and don't as well), I'd prefer to keep away from creating dynamic sql in the application. I would prefer to use stored procedures to encapsulate...

  • RE: CTE and With

    Properly used CTE's are well worth considering. They can help with the development of complex queries, and if you have section of code that would use the same...

  • RE: SQL Trigger multiple update issues

    Sample data, expected results?? The more you do to help u help you, the better answers you will get.

  • RE: xp_cmdshell issues.... please assist!

    That can do it. Let us know if changing to a domain accout solves the problem.

  • RE: SQL Trigger multiple update issues

    Blind I may be, where are the trigger(s), sample data, expected results after processing?

  • RE: xp_cmdshell issues.... please assist!

    Does this batch file you are trying to run on a remote server, run ON the remote server or just FROM the remote server?

  • RE: SQL Server Job Failed

    sureshdeenu (12/18/2009)


    Declare @UpdateText as VarChar(2000)

    Set @UpdateText =

    'Update GeStatus ' +

    'Set ChangedRecordX = ''x'', ' +

    '[' + RTrim(@ChangedFieldName) +'] = ''x'' ' +

    'Where Client = ''' + RTrim(@Client) + '''...

Viewing 15 posts - 17,821 through 17,835 (of 26,484 total)