Forum Replies Created

Viewing 15 posts - 46 through 60 (of 199 total)

  • RE: Triggers for audit trails

    Hi All,

    Been off for a week.......

    Is this thread still live?

    Have fun

    Steve

    We need men who can dream of things that never were.

  • RE: convert varchar to float

    Hi Ann,

    Could you please post the CAST and CONVERT statements that are actually giving you the error.

    Have fun

    Steve

    We need men who can dream of things that never were.

  • RE: What is the best solution: a long stored procedure or several sql queries?

    Hi Sansan,

    A little more information would be required before most people in here would cast an opinion.

    Databases on same servers? Tables and structures, information required from each, key values,...

    Steve

    We need men who can dream of things that never were.

  • RE: import xls data to tables

    My vote goes with Paul, this kind of task is what DTS thrives on.

    Have fun

    Steve

    We need men who can dream of things that never were.

  • RE: Extended challenge for everyone - Answer

    Hi Remi,

    This has been great reading. I didn't execute the first code snippet as you said (though I did paste it into QA, seperate and comment it all so I could...

    Steve

    We need men who can dream of things that never were.

  • RE: Wildcard in Dynamic SQL

    Hi Farrel,

    Still working with the dynamic stuff then, good man.

    A bit late in this thread I know but......

    It's always well worth just doing a PRINT LEN(@DodgyVariable) just to double check...

    Steve

    We need men who can dream of things that never were.

  • RE: Trigger

    Hi All,

    Is this not a silly date comparison issue?

    Have you tried CASTing or CONVERTing both dates in your WHERE clause?

    Just a thought, haven't tried it yet.....

    Have fun

    Steve

    We need men who can dream of things that never were.

  • RE: Linking an Informix server -> Error 7399

    Hi,

    Have you checked the settings of the linked server in Enterprise Manager under Security -> Linked Servers.

    If any of the settings in here goes out, it affects all Linked...

    Steve

    We need men who can dream of things that never were.

  • RE: Cursor with exec instead of select

    Hi,

    I am about 99.9% certain it isn't possible.

    Could you give us an idea of the problem you are trying to solve here.

    You need to do a lot of research...

    Steve

    We need men who can dream of things that never were.

  • RE: Can this be done without using cursor?

    Hi Guys,

    As a simple solution, would it not have been easier to just use a DTS package to pump the data into excel - sorting through it in small bits on...

    Steve

    We need men who can dream of things that never were.

  • RE: Stored Procedure to load excel data into sql table

    Have you not looked at using DTS for this task? Seems like it's exactly what DTS was made for.......

    Have Fun

    Steve

    We need men who can dream of things that never were.

  • RE: Nested Loops on cursors

    Hi Gihan,

    If you find you have no other options than to step through using a loop and nested loops. You are better off not using cursors.

    Example of a cursorless...

    Steve

    We need men who can dream of things that never were.

  • RE: Is there another way for this??

    May be of some use:-

    http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarsqlsg/html/msdn_interntl.asp

    Steve

    We need men who can dream of things that never were.

  • RE: Dynamic creation of a temporary table with EXEC

    Excellent - here to help matey

    Have fun

    Steve

    We need men who can dream of things that never were.

  • RE: Dynamic creation of a temporary table with EXEC

    Hi Mark,

    Your Dynamic SQL looks fine in the main.

    Only problem I can see is:-

    It handles @iProvinceID > 0 AND @iPatientFilter >= 0 perfectly.

    Any other result will cause it to...

    Steve

    We need men who can dream of things that never were.

Viewing 15 posts - 46 through 60 (of 199 total)