Forum Replies Created

Viewing 15 posts - 3,976 through 3,990 (of 5,685 total)

  • RE: How not to get dubs

    CONSTRAINT [PK_SUN_Vendors] PRIMARY KEY CLUSTERED

    (

    [SUN_DB] ASC,

    ASC

    )WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]

    Here's the reason you're not able to insert dupes. So, you'll need to find any dupes...

  • RE: Linked server security

    That's strange then. When you login to the foreign box, using that user, and connect to the database that you're trying to pull data from... does it give you...

  • RE: Two Variable Combination Permutation Calculation

    Can you post the ddl and some sample data that would provide us the background for what you're looking to generate:

    qry_id_2combo hic_number

    qry_1&2 123456789A

    qry_1&2 987654321A

    qry_1&3 456789123B

    We're guessing as to what the...

  • RE: Best practice when removing a large amound of data in published database

    You could disable the publications, perform those tasks, re-establish the snapshot, and then re-enable the publications.

    Similar I guess to the drop/rebuild, but a little less painful.

  • RE: row by row operations

    Anna_SQL (2/17/2011)


    I learned one best practice is to avoid using sql server cursors. Because they generally use a lot of sql server resources and reduce the performacne of...

  • RE: Linked server security

    Krasavita (2/17/2011)


    I am trying to select data from linked server and get an error message:

    Login failed for user 'SUN_Link_Srv'

    Why is that? My linked server is regestered under this name and...

  • RE: How not to get dubs

    Krasavita, you're going to be a lot more explicit in your problem for specific assistance.

    Basically you'll have to dedupe your data into table 2 from table 1 to get it...

  • RE: SSIS Package - Data Flow Task

    That's odd.

    "C_achieve" "DT_STR" "0" "0" "100" "1252" "0" "" "OLE DB Source"

    That's a VARCHAR(100) in the stream. Well, you could tell it to just redirect failure rows, send the...

  • RE: Service Broker.

    As OPC mentioned above, you'd still be using a trigger to feed Service Broker. All Service Broker would do is delay the update to the other table, and tighten...

  • RE: How to split/extrapolate single records by date range into multiple records

    thepotplants (2/16/2011)


    The intention is expand records from the booking_in table into the booking_out table.

    Booking 19159 would become 4 rows.

    '19159','6' 'Dec 29 2009 08:00','Dec 29 2009 23:59:59'

    '19159','6' 'Dec 30...

  • RE: Are the posted questions getting worse?

    Jeff Moden (2/16/2011)


    Fal (2/16/2011)


    Brandie Tarvin (2/16/2011)


    ... But I'd avoid dark alleys, if I were you....

    Well, there goes the joy in life.

    But wait, you mentioned something about "tar and feathers"??

    Steve.

    Mmmmmm....

  • RE: newbie - Can someone help me understand this section of this script?

    adam spencer (2/16/2011)


    Craig,

    Thank you very,very much for that explanation. That helped clear it up!

    Adam

    My pleasure, glad I could help.

  • RE: Why is table locked while INSERTING?

    Ray Cacciatore (2/16/2011)


    Yes, it is an ADP file that is connected to SQL 2005.

    So, I'm understanding that even when a SELECT executes, the record gets locked?

    Yes, depending on isolation levels....

  • RE: use output parameter of stored procedure to determine data flow task

    Have two unique tasks and use a script component to evaluate the variable. Enable/disable tasks as necessary per pass in the script.

  • RE: Select records form lasthour

    and we haven't gotten to 8/2/2011 yet (I read it as 2010 for some reason) so yes, it's after an hour ago... LOL

    Check out this script, it should show you...

Viewing 15 posts - 3,976 through 3,990 (of 5,685 total)