Page 5 of 22 FirstFirst ... 234567815 ... LastLast
Results 41 to 50 of 211

Thread: Whats ur ctrl V right now

  1. #41
    Poster BT Rep: +20BT Rep +20BT Rep +20BT Rep +20
    Join Date
    Feb 2006
    Location
    Scene
    Posts
    2,171
    gamer4eva

    quoted him.

  2. Lounge   -   #42
    GepperRankins's Avatar we want your oil!
    Join Date
    Jun 2004
    Location
    the suburbs. honestment
    Age
    38
    Posts
    8,527
    Tsangpo Gorge

  3. Lounge   -   #43

  4. Lounge   -   #44
    S!X's Avatar L33T Member BT Rep: +5
    Join Date
    Jul 2003
    Posts
    7,131
    AMD X2 4200+ Manchester
    ASUS A8N32-SLI Deluxe ATX S939 NFORCE4 SLI X16 DDR 2PCI-E16 SATA2 RAID Sound 2GBLAN 1394 Motherboard
    OCZ Platinum EL PC3200 1GB 2X512MB DDR400 (@ 2-3-2-5)
    Corsair HX520 CMPSU-520HX 520W ATX Triple 12V 40A Continuous 24PIN ATX Modular 120MM Power Supply
    Antec Nine Hundred Mid Tower Gamer Case
    Seagate Barracuda 7200.10 250GB SATA 3GB/S 7200RPM 16MB Cache Hard Drive
    eVGA 6600GT PCI-E Video Card

    my specs

  5. Lounge   -   #45
    Mr. Mulder's Avatar pepper your angus BT Rep: +10BT Rep +10
    Join Date
    Aug 2003
    Location
    Vault 111
    Age
    38
    Posts
    16,596
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO


    ALTER TRIGGER UpdateDaysUpdate ON [dbo].[Order Lines]
    FOR UPDATE
    AS

    Declare @UpDDate as datetime,
    @Exists as int,
    @ClientId as uniqueidentifier


    Select @ClientId = ClientNumber from Inserted

    select @Exists = Count (*) from [order lines] where (ClientNumber = @ClientId)

    If @Exists = 0 return

    If not @clientId is null
    Begin
    set @UpDDate = (Select Top 1 [Date] from [Order Lines] where (ClientNumber = @ClientId) Order by [Date])
    End
    Else
    Begin
    Select @UpDDate = isnull([Date],dateadd(day,-365,Convert(datetime,getdate(),103))) from Inserted
    End

    Select @Exists = Count(*) from Days where (Date = @UpDDate)

    set @exists = isnull(@exists,0)

    if @Exists = 1
    Begin
    Update Days set CDUpdate = 1 where ([Date] = @UpDDate ) And (CdUpdate = 0)
    End
    Else
    Begin
    Insert into Days ([Date],CdUpdate)
    Values (isnull(@UpDDate,dateadd(day,-365,Convert(datetime,getdate(),103))), 1)
    End

    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO




  6. Lounge   -   #46
    S!X's Avatar L33T Member BT Rep: +5
    Join Date
    Jul 2003
    Posts
    7,131
    What the hell is that?

  7. Lounge   -   #47
    Mr. Mulder's Avatar pepper your angus BT Rep: +10BT Rep +10
    Join Date
    Aug 2003
    Location
    Vault 111
    Age
    38
    Posts
    16,596
    a client merge script ...to merge duplicate clients

  8. Lounge   -   #48
    Mathea's Avatar The Blonde Alibi BT Rep: +5
    Join Date
    Feb 2004
    Location
    NY
    Age
    42
    Posts
    5,869
    i love it when you get all technical

  9. Lounge   -   #49
    Mr. Mulder's Avatar pepper your angus BT Rep: +10BT Rep +10
    Join Date
    Aug 2003
    Location
    Vault 111
    Age
    38
    Posts
    16,596

  10. Lounge   -   #50
    Mathea's Avatar The Blonde Alibi BT Rep: +5
    Join Date
    Feb 2004
    Location
    NY
    Age
    42
    Posts
    5,869
    i love it when you blush too

Page 5 of 22 FirstFirst ... 234567815 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •