Forum Replies Created

Viewing 15 posts - 2,416 through 2,430 (of 2,452 total)

  • RE: adding and appending

    try this

    'LC' + CAST(CAST(RIGHT (RTRIM(ID), 3) AS INT) + CAST(LEFT (LTRIM(ID), 3) AS INT) AS char)

    please follow the advice in the link below ... you will get faster and more...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: UPSERT USING SSIS 2005

    John Rowan (8/5/2009)


    How are you handling when more than one column's value is updated?

    I am interested in this as well...I import files where potentially any one (or many) of 40...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: adding and appending

    Hi

    as long as data length is as provided:

    'A' + CAST(CAST(LEFT("yourdata", 3) AS int) + CAST(SUBSTRING("yourdata", 5, 3) AS int) AS char)

    regards Graham

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Market Reval Script

    Howdy Wayne

    without any more info its really hard to provide an answer

    but maybe that GROUP BY and SUM (use BOL) will assist

    you may find that if you follow the advice...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Update column with itself plus value of column in another table -- accumulating?

    Hi Hugh

    you may find that if you follow the advice in the link below that you get faster amd more detailed response...paritcularly if you provide example of what you expect...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert,Update,Delete in SSIS - newbit in SSIS

    Patrick...stumbled across this...may be worth a look at the Word docs

    http://www.sqlservercentral.com/Forums/FindPost765551.aspx

    regards gah

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Are the posted questions getting worse?

    Bob Hovious (8/5/2009)


    Hmmmm party encounters a Spamming Troll...

    Roll 3xd10 for saving throws against annoying misspellings....

    Wizard casts Ancient Programming Languages...

    Elf has shot the food!

    xyzzy 😀

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert,Update,Delete in SSIS - newbit in SSIS

    Patrick.I (8/5/2009)


    Gah,

    I was thinking about this method already if i decide not to use SSIS. 🙁

    By the way my records could be over half a million records.

    Hi Patrick...I do use...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Insert,Update,Delete in SSIS - newbit in SSIS

    Hi Patrick

    not knowing the volumes of data you have, the following method may not be appropriate, but this is one method I use to import up to 30K records into...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Join query

    You really ought to read the advice given here

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    if you follow this advice then i am sure that you will get more response and answers that provide tested code.

    Because I...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to join Candidate and Qualification tables

    Since earlier post I have been searching this site for something that better meets my personal requirements and have come up with the following...you find this useful

    USE tempdb

    GO

    --===== If the...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to join Candidate and Qualification tables

    I am not sure that I fully understand the question without seeing the data and the expected results....however I have done something similar in the past which may provide you...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Pass Through Query

    try this

    http://www.aspfree.com/c/a/Microsoft-Access/On-Using-Passthrough-Queries-in-MS-Access/

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Pass Through Query

    jrw39 (7/8/2009)


    Graham,

    I connect in Access 07 to a data warehouse using ODBC.

    I have linked tables from access db to SQL Server.

    I need to be able to copy or...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL Pass Through Query

    How are you connecting Access 07 to SQL 2005?

    Are you using an Access Project (ADP) or are you using linked tables to SQL?

    regards graham

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 2,416 through 2,430 (of 2,452 total)