Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)

  • RE: Server name

    I will try that.  Thanks

    BUT

    I was able to get it with this as well 

    DECLARE @DBServer nvarchar(50)

    SELECT @DBServer = name FROM sys.servers

    Again thanks for your help.

    Phil

     

     

  • RE: Remove CRLFs in file

    Thanks for the reply but here is what I currently have in my SP and is is putting a CRLF after each row.

    What I need is either during this bcp...

  • RE: ALTER Table

    Thanks.

    I guess part of my Post got cut off.

    Another question.

    With ALTER TABLE, can I change the name of a column?  Like xtable.xcolumn to xtable.zcolumn.

    Phil

     

     

  • RE: Index Problem

    Thanks everyone for your help. 

    I can take it from here.

    Phil Krieg

     

  • RE: SP Recompile

    Razvan,

    Thank you very much.

    Phil

     

  • RE: WITH (NOLOCK)

    Thanks for your reply Jeff.  It confirmed my 'book' findings.

    Phil

  • RE: bcp

    Prasad,

     

    Thanks for your input. BUT I have been trying everything to get it to work with no success.  It must be in the syntax.  

    Any and all help is greatly appreciated.

    Thanks,

    Phil

     

     

  • RE: BULK INSERT Problem

    Gary,

    Sounds like this would work.  But I don't know how to create a FORMATFILE that would skip column 1 and insert the data into column 2 for each row.  Can...

  • RE: Build exec in SP

    Thanks for the reply, Steve.

    BUT @a is bigint

    ALSO what if @a was datetime?

    Thanks

  • RE: Stored Procedure

    Thanks for all your help. I get your idea on the multiple creates. I will give it a shot and let you know. I previous tried doing...

  • RE: Stored Procedure

    It took some time to get an accurate results from the CASE test. It took twice as long with the CASE.

    Phil

  • RE: Stored Procedure

    Andy,

    Another point.

    I have tried inserting in the front of this a temp table filtering out by apptdate which then passed only the 1000 - 3000 records to the INNER JOINS...

  • RE: Stored Procedure

    Andy,

    Thanks for your input.

    Unfortunately I do need all the data. In your opinion could the WHERE be better constructed? Would it make a difference if I put (...)...

Viewing 13 posts - 1 through 13 (of 13 total)