Forum Replies Created

Viewing 15 posts - 5,431 through 5,445 (of 7,636 total)

  • RE: Execute a stored procedure inside a user defined function

    Ninja's_RGR'us (9/14/2006)


    As I said EXCLUDING CLR you can't call a proc in a function.

    Even in CLR it is d*mned hard to do. I know, I've tried.

  • RE: Execute a stored procedure inside a user defined function

    ND (9/13/2006)


    you can do whatever you want in a function, update/insert/delete exec proc..etc

    As long as the function returns a value.

    This is absolutely not true.

    SQL, like Excel and some other high-level...

  • RE: Duplicate records

    You would need an additional query to find the duplicate Primary Keys, or you will need a WHERE clause to pre-filter the duplicates out. If you can tell us...

  • RE: AFTER DELETE Trigger doesn't fire on Cascaded Delete

    You could use INSTEAD OF triggers on B, but I think that you will still have problems.

    What you really need is a combined trigger from A & B, but of...

  • RE: Duplicate records

    That depends on how you are inserting them. Can you show us the code?

  • RE: View within View with UNION causing problems

    Please let us know how it works out.

  • RE: View within View with UNION causing problems

    FreeHansje (9/30/2008)


    Sergiy, I know the UNION is causing the problem; I'm looking for another way to do this within the parameters explained earlier.

    Actually, Sergy makes an execellent point, one that...

  • RE: View within View with UNION causing problems

    From you DDL code:

    CREATE VIEW dbo.REV_KLIGEN_PATIENTEN

    AS

    SELECT

    ...

    ISNULL (s.patientnummer, p.patientnummer) AS ZOEKPATIENTNUMMER, -- voorkeur-of synoniemnummer

    ...

    FROMhl7_allePatientnummers s

    LEFT JOIN dbo.hl7_patientenMetGesplitsteGebDat p

    ONs.voorkeurspatientnummer = p.patientnummer

    --

    CREATE VIEW dbo.hl7_allePatientnummers

    AS

    SELECTsynoniempatientnummer AS...

  • RE: View within View with UNION causing problems

    What are the rowcounts of the two tables: [hl7_patienten], and [kop_synoniempatientnummers]?

  • RE: loading .CSV file

    Are you saying that they may not have SQL Server on the Web Server where the client code is executing, but you need to load the CSV file into a...

  • RE: Query Tuning in TSQL

    Milu (9/27/2008)


    rbarryyoung

    --------------------------------------------------

    In SQL Server 2005, merely creating an identity column does NOT automatically create an index on that column. Therefore, in this case, your query is doing a "Table...

  • RE: loading .CSV file

    create proc bcp_test

    as

    begin

    exec master..xp_cmdshell "bcp acs..bcpt in "C:\temp\Book1.csv -c -Upf -Ppf1 -Sdev"

    end

    Actually, the use of quotes does not look right here either. That command line should look more like...

  • RE: loading .CSV file

    karthikeyan (9/29/2008)


    Assume the .CSV file format is

    1 karthik

    2 keyan

    I am not sure how accurate you intend this test to be, however, you should be aware the "CSV" stand...

  • RE: View within View with UNION causing problems

    An example of the Select command being issued would be helpful too.

    Thanks,

  • RE: View within View with UNION causing problems

    There is no definition for the Table/View [hl7_allePatientnummers].

Viewing 15 posts - 5,431 through 5,445 (of 7,636 total)