Forum Replies Created

Viewing 15 posts - 136 through 150 (of 726 total)

  • RE: bcp

    Print the value of @sql, and run it from the command line, and you should have your answer.

  • RE: Dynamic Sql and Performance

    To be fair, sp_msforeachtable uses a cursor as well, but at least it's already written for you.

  • RE: sp_who

    The SPIDs numbered 1-50 are reserved by SQL Server for internal use, so all user processes will be 51 or higher.

  • RE: Setting date format when converting to VARCHAR

    By the way, my initial code does strip off the time portion of the date, so if you need the time, just increase (or decrease, such as style 112 to...

  • RE: Setting date format when converting to VARCHAR

    Don't feel bad Sam, as it's a problem many of us had when getting familiar with the internals of dates. The problem is that a line such as "Convert(datetime, Getdate(),...

  • RE: Error in dynamic sql script (SOS)

    Max, I think you're a bit too fond of the ol' single quotes. 

    Try this and see how if it works for you (be...

  • RE: Setting date format when converting to VARCHAR

    It sounds like you are using a datetime return type when doing the CONVERT, THEN doing the CAST, as using CONVERT with a return type of varchar will do exactly...

  • RE: Sqlserver 2005 exam

    It depends on the purpose of your exam.

    If you want to create practice exams to be used for certification purposes then get a bunch of people to take the exam...

  • RE: Sending Mail to Lotus Notes7

    We just send e-mails to the SMTP server and let it send it on to Notes. That will work whether your final destination is an enterprise mail server such as...

  • RE: Combining two varchar fields to one datetime

    What do the following statements return for you?

    SELECT

    Max(Len(Date_Created)) FROM tablenamehere

  • RE: Invalid Object Problem dynamic(CTE) Paging

    As Matt Miller noted in the other thread, it would help if you'd show us the code that populates the @whereClause variable. At a glance, it appears that the likely...

  • RE: Invalid Object Problem dynamic(CTE)

    Are you using 2005? That code is VERY 2005 specific.

    ETA: Ignore, as I see you notice that you posted in the wrong section, so assuming that you do have 2005.

  • RE: import data

    Do you have a D: drive on your local machine, and is that file in that location on your D: drive if you do?

     

  • RE: store procs

    I think that what most of us are waiting for is for you to tell us what happens when you run it, etc.

  • RE: import data

    Open up the Data Transformation Wizard on your local system and go to town.

Viewing 15 posts - 136 through 150 (of 726 total)