Forum Replies Created

Viewing 15 posts - 11,086 through 11,100 (of 13,879 total)

  • RE: Tabledesign

    Aha. Yes, I think you have it.

    This would be a lot easier if the table could have a more-normalised design, eg:

    TabXY(x, y_start, y_end, value)

    then your queries would work very simply.


  • RE: Tabledesign

    I feel like I've stepped into a parallel universe. The language sounds like English, but I don't understand it.

    Can you please try again to explain what you are trying to...


  • RE: string manipulation or cte

    timscronin (10/21/2011)


    I have a column value like this

    'Merged Facility Id:0286- Patient Id:999000 PHPatId:28488 with Facility Id:0286-C Patient Id:124013 PHPatId:678839'

    What I need to strip out is

    0286- ...


  • RE: Set Insert_Identity on/off

    Sean Lange (10/20/2011)


    You can use that in your stored proc with** the need for a GO or dynamic sql. Just make sure to set it off again before you exit....


  • RE: Join using Charindex -- there's got to be a better way?

    Grant Fritchey (10/20/2011)


    What about building a drug name mapping table. You run through the data once, nightly, after a load, something, and map the names supplied to the drugs available...


  • RE: Join using Charindex -- there's got to be a better way?

    Surely another possibility is building a mapping table, if this is likely to be a repeated process?

    Something like this:

    select 'CITALOPRAM TABLETS' Pseudonym,

    ...


  • RE: Retrieve my old package

    SQL_Surfer (10/20/2011)


    SQL server...So do i need to restore msdb database? Can I restore this msdb into test server and retrieve my old package from there? But the test server will...


  • RE: Retrieve my old package

    Is the package stored in the file system or in SQL Server?

    Either way, you're probably looking at some sort of restore, unless you have the package stored somewhere else.


  • RE: copying File to Multiple Folders

    What is your question, precisely?


  • RE: Determine if file has been previously loaded?

    Having said that I think making the last step an archive and/or rename of the processed file is the way to go. Then you know it hasn't been processed because...


  • RE: SQL Server job hanging...

    .. And the job runs on server A too?


  • RE: SQL Server job hanging...

    Are you running BIDS on the same server as you have scheduled the job?


  • RE: Finding the column containing the minimum value

    Applying Lowell's suggested method to my real-world version of this problem worked splendidly. >300k records updated in less than a second.

    Thanks again.


  • RE: Finding the column containing the minimum value

    Lowell (10/14/2011)


    i'm an ID-TEN-T;

    i looked at jsu tthe execution plan for the setup table variable...of course they are the same...once i scrolled down, i saw differences.

    Haha. Thanks for the excellent...


  • RE: Covert style 120 vs 102

    vick12 (10/13/2011)


    Hi All,

    Thanks for your replies. Actually I am using SSRS to develop a report and I need to sort the data based on a sort input parameter the user...


Viewing 15 posts - 11,086 through 11,100 (of 13,879 total)