Forum Replies Created

Viewing 15 posts - 3,061 through 3,075 (of 3,544 total)

  • RE: importing text file with bad lines

    I presume you are importing from a text file and delimiting by comma. If so DTS should ignore any columns in excess of the mapping and set null for any...

  • RE: Script for finding all indexes in a database

    exec sp_MSforeachtable @command1 = "print '?'",@command2 = "sp_helpindex '?'"
    
  • RE: How would you handle this and why??? (Common Data)

    quote:


    yes, everyone should be treated the same. Make them all sysadmin, for they know what they do!!


    September 16, 2003 at 9:58 am

    #474454

  • RE: How would you handle this and why??? (Common Data)

    I'm all for empowering the user. As long as it is in a controlled environment.

  • RE: PAE Question

    Since corrections have been made in the past I always check the answer I give in the newsletter is the same in the forum, maybe I missed this one

  • RE: big bonus for answering on-the-day

    quote:


    I suggest a big points bonus for answering on the day. Any comments?


    Would be...

  • RE: How would you handle this and why??? (Common Data)

    I could see this generating some interesting comments.

    I cannot say which I prefer.

    A previous employee built a database to hold info about our dealer network. This database has a...

  • RE: PAE Question

    I agree.

    quote:


    At what memory point must you set the /PAE ...


    The important word...

  • RE: Complex Query: Please HELP!!!!

    See if this works using a temp table.

    CREATE TABLE #A(ID1 int,ID2 INT, 
    
    RowID nvarchar(15),
    Created Datetime,CreatedBy nvarchar(25),
    Field nvarchar(25),
    OldValue nvarchar(25),NewValue nvarchar(25))

    INSERT INTO #A...
  • RE: Pet Peeves

    Managers who think I am a f*****g fireman. You tell them 'disk nearly full', 'disk is really nearly full', 'disk is full', 'disk is f*****g full'. Then a user tells...

  • RE: Complex Query: Please HELP!!!!

    Try this, it may do it.

    SELECTa.RowID, 
    
    a.Created,
    a.CreatedBy,
    a.Field,
    a.OldValue,
    a.NewValue
    FROMAuditTbl a
    ORDER BY a.RowID,
    a.Created,
    a.Field,
    (CASE WHEN (SELECT TOP 1 NewValue
    FROM...
  • RE: DTS a text file into SQL Server

    I think your problems occur from the structure of the event data and it being on multiple lines. The following script which you can use to preprocess the comma separated...

  • RE: DTS a text file into SQL Server

    If that is the windows event log then I see your problem. The only thing I can suggest is to preprocess the file with an application or ActiveX script and...

  • RE: Complex Query: Please HELP!!!!

    Not sure what your question is but presume the problem is with identical datetime's. If you want to guarantee sequence of events in AuditTbl and BaseTbl then add an IDENTITY...

  • RE: DTS a text file into SQL Server

    I cannot reproduce the error and without the table definition,dts and data it is difficult to see what the problem is. If the data may contains extra columns you could...

Viewing 15 posts - 3,061 through 3,075 (of 3,544 total)