Forum Replies Created

Viewing 15 posts - 451 through 465 (of 605 total)

  • RE: How create a table with all days ?

    What you need to do is to create a DATE TABLE with all the cvolumns you require. This is done in olap processing where you can query by day, month,...


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

  • RE: Mass update of dts package data source uid & password

    Hindsight is a great thing, but I will tell you anyway.

    If you had used a readconfig file to specify the db and password etc, you could have just changed it...


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

  • RE: days calculation problem in oracle

    select (expiry_Dt)-(sysdate from dual) as noofdays


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

  • RE: days calculation problem in oracle

    a minus sign is correct. However you need to 'select sysdate from dual' to get back todays date.


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

  • RE: delete query help

    The best method I can think of is as follows:

    You need to build a reference table that holds the controller id's. First time arounbd will involve an insert statement from...


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

  • RE: DTS CreateProcessTask Fails When Called From Job

    Sounds like a permission problem.

    Make sure that the account that sql server agent is running under has the right permissions.

    Also check your sql server settings by running dcomcnfg.exe from the...


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

  • RE: Package cant find instance when run from a job

    If you copied it over from dev using export and import to live you have to change the connection properties.

    Also check to make sure that the account that sql server...


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

  • RE: How see output from print statement when sp called from JDBC

    Can you not cycle through the recordset and use the print statement for the application in the debug window?

    I often do this in vb. Alternatively, you can insert the recordset...


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

  • RE: Dynamic SQL into stored proc ?

    If I understand you correctly, you are looking to create the same table for many users but name it differently for each user.

    If so, prefix the table with the users...


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

  • RE: DTS Package failures

    It sounds like the server and databases are the same names and that is causing problems. You need to use collation to fix, if this is the problem.

    Just a guess!


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

  • RE: Updating multiple referance column data seperated by comma.

    On way would be to use the replace function.

    E.g look for the value in table1 col1 and replace with the value table1 col new.

    Check BOL for more info.

    However, the...


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

  • RE: Access SubForms Columns Not Computing Values in SQL Server

    One thing that stands out is the line -

    ([Order Details].[UnitPrice]*[Quantity]*(1-[Discount])/100)*100 AS ExtendedPrice.

    You are not qualifying the quantity or discount by giving them table names. Could be picking the wring...


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

  • RE: How to delete column data

    You want to use an 'execute sql task'.(Quickest method is to truncate the table) and on success/completion run the import task.


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

  • RE: FOR XML Performance

    Check out this link - http://www.sql-server-performance.com/xml.asp

    This web site is by far the best for giving out best practice advice over a wide range of subjects.


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

  • RE: Dimension processing performance

    Never seen anything like that before. Do all your dimensions take an age to run?

    I would suggest making sure you have all the service packs installed. Then delete the dimension...


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

Viewing 15 posts - 451 through 465 (of 605 total)