Forum Replies Created

Viewing 15 posts - 11,461 through 11,475 (of 26,486 total)

  • RE: Service Broker vs. CDC

    When you say push to a client application, can you be a bit more specific?

  • RE: isnumeric() ?

    SQL_path (6/7/2012)


    Any ideas?? thanks

    Well, since we can't see from here what you see there, not really. Maybe if you provided us with the DDL for the table, some sample...

  • RE: Update/Insert Statement

    Other than all those double quotes (which I removed), I really don't see anything wrong with the code below:

    UPDATE P SET

    Stock = T.Stock

    FROM

    ...

  • RE: IsDate Function in SSIS?

    Here is your code formatted:

    SELECT i.IncidentIDRef

    ,(

    row_Number() OVER (

    PARTITION BY sc.PnxCodeValue

    ,a.IAREF# ORDER BY a.IAREF#

    ) + 2

    ) seqno

    ,'Type: ' + IATYPE + ' | Last Name: ' + IALNAM + ' First...

  • RE: Need help finding 3 categories on an order?

    subahan_syed (6/7/2012)


    Order# A has Collection of SKU's like below

    1

    2

    3

    4

    5

    6

    7

    8

    9

    SKU's 4, 6 & 8 are to be identified out of the order A.

    Hope I made it clear.

    Nope. Have you read...

  • RE: calculate time difference

    I'm thinking this is more what is needed:

    USE [Sandbox] -- My playground, change as needed

    GO

    /****** Object: UserDefinedFunction [dbo].[itvfn_FormatTimeHHMMSS] Script Date: 06/07/2012 10:08:28 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER...

  • RE: ITVF returning empy but the query inside returns results

    In your SSMS window, does it matter which is run first? Is there a batch separator between them?

  • RE: Stored Procedure with dates

    Nidhi G (6/7/2012)


    These are the csv results:

    CHJUSDDN,App,LMA,2012-03-30 00:00:00.000,I/O,16.9,2012-05-25 18:31:29.323

    CDGDFGD545E,App,LMA,2012-04-03 00:00:00.000,MEMORY,0.22,2012-05-25 18:31:29.323

    CRFGFG12ZE,WEB,LMA,2012-04-30 00:00:00.000,ScanRate,0,2012-05-25 18:31:29.323

    CDFGDRFDGD,App,ESN,2012-05-12 00:00:00.000,RUNTIME,0,2012-05-25 18:31:29.323

    BGFGHJ676RF,SQL,LMA,2012-05-31 00:00:00.000,CPU,0.0426399999999989,2012-05-25 18:31:29.323

    HHJUI878DFE,DB,POR,2012-06-01 00:00:00.000,DiskSPACE,164.8,2012-05-25 18:31:29.323

    i NEED COUNTER_VAL IN 'MEMORY, I/O, CPU'

    INSERT DDL:

    INSERT INTO [EMDB].[dbo].[STG_CAP_HLI]

    ...

  • RE: Database Rolls

    From Books Online. I simply went to the Index tab and entered database roles.

    Members of the db_ddladmin fixed database role can run any Data Definition Language (DDL) command in...

  • RE: ITVF returning empy but the query inside returns results

    Only thing that could be obvious is if the @ID2 is used in a way that would may the OUTER JOINs into INNER JOINs and there was no data that...

  • RE: The FOR XML clause is not allowed in a INSERT statement

    BrainDonor (6/7/2012)


    Horribly obvious!

    And yet it would appear I'm not the first to miss that, from the hunting around through the world of Google.

    And you've just made me realise - we...

  • RE: ITVF returning empy but the query inside returns results

    Well, it is hard to help debug code when we can't see what you see.

  • RE: ITVF returning empy but the query inside returns results

    I see where you use @ID1, but what about @ID2?

  • RE: The FOR XML clause is not allowed in a INSERT statement

    Interesting. I thought I would give you another alternative since you were only returning a single record (value).

    I am posting your code plus the code I added. The...

  • RE: IsDate Function in SSIS?

    Charmer (6/7/2012)


    GSquared (6/7/2012)


    There isn't one built in, but a date-check regex should be easy enough to build into a script component. Bing/Google/whatever, ".net date regex", and you'll find several...

Viewing 15 posts - 11,461 through 11,475 (of 26,486 total)