Forum Replies Created

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

  • RE: Pulling My Hair Out

    Totally agree.

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

  • 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.

  • RE: how to substract from getdate()

    Or

    DateAdd(minute, -1440, GetDate()) 

    OK, only kidding

  • 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...

  • 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...

  • 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...

  • 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...

  • RE: Please help me

    Maybe

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

  • RE: Please help me

    So will

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

    and looks prettier and neater than yours

  • 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]'

  • 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    ...

  • 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...

  • 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...

  • 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,...

  • RE: Scientific Notation Problem

    Prefix the contents of each value in the ID column with a single quote to make it a text field, the ISAM will then make the column nvarchar in the output...

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