Forum Replies Created

Viewing 15 posts - 31 through 45 (of 46 total)

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    Here is everything you need, including the DDL, DML, and expected result set. I just combined everything so you don't have to refer to three different posts. You can open...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    That's what I get for using Textpad (for the macros) to produce the sample dataset instead of SSMS, lol. Anyways, I PM'd the changes to you.

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    I'll try to get you a better sample dataset. Working on it now.

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    Lynn Pettis (4/20/2009)


    Looking at the code and such, I think I know what is going on. Can you post the actual execution plan for the query? I suspect...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    GSquared (4/20/2009)


    If you don't use the "constraint" keyword, that command works.

    create table #T (ID int);

    alter table #T add primary key (ID);

    Just tested that and it worked.

    Ah yes, it sure does....

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    I'll try to get better sample data tomorrow if that's what you require. Also, all the queries and DDL are there (some code is in the very first post). The...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    Lynn Pettis (4/20/2009)


    FYI, the sample data for dbo.BackgroundViews does not have any data that matches the sample data for dbo.IPCITYISP.

    I realize that, but I'd have to modify the queries to...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    Lynn Pettis (4/20/2009)


    Could you post your code as well? I wouldn't be surprised if the problem with performance is actually related to your scalar function for converting the IP...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Different Methods of JOINing to table with 6.4 Million Records

    Lynn Pettis (4/20/2009)


    Would you please post the DDL for the base tables including indexes, some sample data for both tables (in a readily consumable format that can be cut, paste,...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Data Driven Subscriptions Updated

    I believe I finally figured it out. I was able to queue up 7 reports successfully without any errors or 'default' reports being pushed out. It all lies in the...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Data Driven Subscriptions Updated

    I am able to run a file share-based subscription successfully. I put the credentials in when I originally created the subscription. The only problem I have now is that unless...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Query to retreive image from db

    makjain (12/2/2008)


    Hi Friend,

    I m getting below underlined error message when i tried to update the table.

    A correlation name must be specified for the bulk rowset in the from clause.

    Try this...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Query to retreive image from db

    Try something like this (untested):

    UPDATE tblImage

    SET imgData = (SELECT BulkColumn FROM

    OPENROWSET(BULK N'F:\MUKESH PERS\Images\200810A0\Image026.jpg', SINGLE_BLOB))

    WHERE (imgID = 5)

    Of course, replace the imgID = 5 with the correct ID.

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Query to retreive image from db

    makjain (11/29/2008)


    Below is the query which i know to insert an image but i dont know how can i modify this query and insert at specific row.i.e. with WHERE clause.

    In...

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

  • RE: Help with Full-Text Index on View

    No one has any advice on this? Do you require more information?

    [font="Tahoma"]Zycon - The Search Engine for Manufacturers[/url]. Helping Engineers and Technical Buyers Locate Aluminum Extrusions, Metal Stampers, Plastic Fabricators, Valves, and More.[/font]

Viewing 15 posts - 31 through 45 (of 46 total)