Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 3,544 total)

  • RE: Pulling My Hair Out

    quotethank you for making me feel like an old goat

    ooops!

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Pulling My Hair Out

    Totally agree.

    My first use of Windows was with 3.0  and have worked on each version since (even...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: How to get RAISERROR severity info in Visual Basic

    Not that I am aware of.

    The only way I can think of getting the severity is to query the master.dbo.sysmessages table.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: how to substract from getdate()

    Or

    DateAdd(minute, -1440, GetDate()) 

    OK, only kidding

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Several text files consolidate in one

    1.

    Create a table with single varchar column, concatenate (and cast where necessary) columns from each table into the varchar column. Extract the table into text file via DTS or OSQL (in DOS...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: How ADO.NET and stored procs work together

    Personally I do what you described by creating a proc that updates a single row using key provided and call this many times from the app as required. This is...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Translating returned value

    CREATE PROCEDURE usp_Person_GetVisits

    (

     @PersonID Varchar(30) = NULL

    )

    AS

    SET NOCOUNT ON

    SELECT visitType,

    CASE WHEN visitType='I' THEN 'In-Patient' ELSE 'Out-Patient' END AS [visitTypeDesc]

    FROM Visit

    WHERE PersonID = @PersonID

    ORDER...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Difficulty Installing Full-Text Search

    Did you reapply SP4, had similar problems on SQL7 when I installed FTS after SP's applied and had to reapply SP to get FTS to work.

    I reapplied SP3a on my...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Please help me

    Maybe

    Besides if I posted it first time you'd have nothing to refer to  , then your posts...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Please help me

    So will

    WHERE waccessno LIKE REPLACE('XXXXXXXXXX-XX-XXXXXX','X','[0-9a-z]')

    and looks prettier and neater than yours

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Please help me

    SELECT waccessno

    FROM

    WHERE waccessno LIKE '[0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z]-[0-9a-z][0-9a-z]-[0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z][0-9a-z]'

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Text file as a data source...

    Create a format file containing the following

    8.0

    13

    1       SQLCHAR       0       255     "\r\n"                        1     ACCTNUMB

    2       SQLCHAR       0       255     "\r\n"                        2     LOCOPT

    3       SQLCHAR       0       255     "\r\n"                        3     PAYAMT

    4       SQLCHAR       0       255     "\r\n"                        4    ...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Question of the Day for 30 Nov 2005

    All nonaggregated columns in the SELECT clause must also be listed in the GROUP BY clause

    If we're nitpicking :rolleyes: then....

    Even though I got it correct I don't think it is...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: How can i just select the top 1 record from a child table

    Really I don't think so

    You stated that a parent may be present but no child yet...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Full-Text Search issues

    If that is the true text then sql will treat A,B and C as ignored words and you will only be able to use CONTAINS

    select * from where CONTAINS(cl_name,...

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 2,056 through 2,070 (of 3,544 total)