Forum Replies Created

Viewing 15 posts - 13,291 through 13,305 (of 13,876 total)

  • RE: Help with union

    The first UNION that you did filtered out the second row because it was identical to the first.  Your second UNION has rows which are not identical - so they...

  • RE: Lookup tables

    Me neither - can't you just give them a longer description?  This is building complexity that seems over the top.  Are your users particularly (hmmm, what's a nice way of...

  • RE: DTS & Excel Files

    I don't think it's as simple as just clicking a 'process all files in folder' check box - unfortunately.

    Here's an article that might be of use to you though -...

  • RE: Fetching all the rows frm 2 tables based on a FK.

    OK - I think I was on the right track except for the JOIN:

    CREATE PROCEDURE sproc_getTestRequest

    AS SELECT   tr.[TestRequestNo],

      tr.[TestFolderNo],

      tr.[TestRequestObjective],

      tr.[TestRequestDescription],

      tr.[RequestType],

      tr.[TestRequestSentDate],

      tr.[TestRequestReceivedDate],

      tr.[ExpectedPartsReceivedDate],

      tr.[RequestedStartDate],

      tr.[RequestedCompletionDate], p.*

    FROM TestRequest tr...

  • RE: ISNUMERIC equivalent

    IsNumeric is available in SQL Server:

    select IsNumeric('Hello'), IsNumeric(42)

  • RE: Fetching all the rows frm 2 tables based on a FK.

    It sounds to me like you need something like this:

    SELECT   tr.[TestRequestNo],

      tr.[TestFolderNo],

      tr.[TestRequestObjective],

      tr.[TestRequestDescription],

      tr.[RequestType],

      tr.[TestRequestSentDate],

      tr.[TestRequestReceivedDate],

      tr.[ExpectedPartsReceivedDate],

      tr.[RequestedStartDate],

      tr.[RequestedCompletionDate], p.*

    FROM TestRequest tr left join Project P on tr.TestRequestNo =...

  • RE: Lotus Notes SQL - how do you open a "private" view in VB?

    No problem - though this is a SQL Server place really.

    I have a friend who is a Notes developer - I'll ask him & see whether he's got any ideas.

    Phil

  • RE: Lotus Notes SQL - how do you open a "private" view in VB?

    Hmmmm - if this is about SQL Server administration, I'm a chicken tikka massala.

    But I've done some Notes in the past.  When you open the Notes connection, are you connecting...

  • RE: Question of the Day for 07 Oct 2005

    15 seconds - on Big Blue maybe, but not on my laptop, where it ran like an arthritic dog!  Got bored and killed it before it finished!!  Thanks Jeff!

  • RE: Using trigger for audit_log

    Try running

    exec sp_who2

    from Query Analyser and see whether the information displayed there identifies your users.

    So you do not want to track the fact that a record (or records) have been...

  • RE: Question of the Day for 07 Oct 2005

    The question does not state whether or not the GUID is a clustered PK - I therefore assumed it was not.

  • RE: Using trigger for audit_log

    Triggers sound like the way to go - I'm assuming that you're thinking of creating two or three tables along the lines of:

    AuditInsertDelete(AuditInsertID, Date, Action, Table, user, field1, field2, etc)

    AuditUpdate(AudotUpdateID, date, table,...

  • RE: Question of the Day for 07 Oct 2005

    Good.  You two have already had the discussion that I was about to get into!

  • RE: Finding All identities in a multiple insert

    Why did you need to use a cursor?  Perhaps we can find a (fast) set-based approach if you provide more info.

  • RE: Finding All identities in a multiple insert

    Me too!  Good idea.

Viewing 15 posts - 13,291 through 13,305 (of 13,876 total)