Forum Replies Created

Viewing 15 posts - 166 through 180 (of 605 total)

  • RE: Best practices for stored procedures

    Thw ay I tend to approach this type of issue is to decide whether or not:

    a) The statements are related in some way. E.g Do they insert into the same...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Access functions now working

    How are you accessing sql server via access? Check to make sure the linked tables are fine if you are using that route.

    Or if you are using a dsn, make...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: separat word

    A bit slapped together, but will work for you.

    declare @thestring as varchar(100)

    declare @i as int

    declare @goback as int

    declare @counter as int

    set @thestring = 'sasas fdfdfewew wwrwewr'

    set @i = 1

    set @counter...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: ActiveX Script Resources?

    What you need to do is search for vbscript examples as that is what activex uses. Also, if you record a macro in excel and then view the code, you...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: raising error in execute sql task

    Nice one, Anatol. I was overcomplicating it, trying to get a workaround.

    I assumed that would stop the @@rowcount from working, but I have checked BOL and you are right.

    "The @@ROWCOUNT...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: DTS package to send alert e-mails

    I may be missing something here, but why not just use the "Send Mail Task" in the dts package.

    Saves a LOT of messing about and is easy to use. A...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: raising error in execute sql task

    The only way I can think of achieving this is to use a global variable of an output type.

    However, the problem you have is that you can only have...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Database Design and Reference Tables

    If anyone were to come into my company and see how these generic lookup tables have completely eradicated referential integrity and made data warehousing a total nightmare, they would stay...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Need to import source filename with data

    Load a dts package in design mode. Select


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Need to import source filename with data

    I didn't know you wanted to expand the functionailty to the folder level.

    I found this page much easier to follow and I have been using the technique for a year...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Need to import source filename with data

    As far as I know or have found out, there is no way of retrieving the value of a source file within an activex script. If anyone has the code,...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: DTSRUN.EXE APPLICATION ERROR

    How are you kicking off the application?

    Is it by typing this on the command line?

    dtsrunui.exe


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: DTS package won''''t read an ini file unless run in server context - why?

    Dts packages run on the client so you will find that if you are referencing the c: drive to locate the ini file, the c: drive will be the client...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Data transformation from an Excel file

    In theory it is possible to call a stored procedure through activex, but you would have to find a way of looping through a row, calling the sp, looping through...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Data transformation from an Excel file

    Unfortunately dts is not built to handle row by row data except for transformation purposes, which it is very good at.

    I cannot think of a way of passing each row...


    ------------------------------
    The Users are always right - when I'm not wrong!

Viewing 15 posts - 166 through 180 (of 605 total)