Forum Replies Created

Viewing 15 posts - 5,416 through 5,430 (of 7,191 total)

  • RE: Importing data from a text file to a table

    As I said before, one row isn't particulary useful. And the header row is totally useless since I can't tell where one column name ends and the next begins....

  • RE: Importing data from a text file to a table

    You've only sent one row, so I can't see what repeating patterns there are. What I can see in the row you pasted is that each column is separated...

  • RE: Importing data from a text file to a table

    Well, if spaces occur only between columns, and not within them, I suppose you could do a find and replace, and put an appropriate delimiter in place of all spaces....

  • RE: Importing data from a text file to a table

    If the columns aren't delimited, are they fixed width? In other words, does each column begin at a specfied place on the line? If your file isn't delimited...

  • RE: Deleting data from Excel File

    Bhavika

    I don't think so. The File System Task is for performing actions on files, not for manipulating data within files. I've never tried it, but you should be...

  • RE: can I tune this

    Subrat

    "Am getting error" is not helpful. Please post the actual query and the error message.

    John

  • RE: Execute Package task

    Right-click anywhere on the design surface in your control flow in BIDS, and choose Package Configurations. Then follow the instructions I gave before.

    John

  • RE: Execute Package task

    Bhavika

    Yes, you can use a package configuration in the child package. Choose Parent package variable from the Configuration type drop-down, and type in the name of the variable.

    John

  • RE: Password policy enforcement

    For the first problem, a DDL trigger should be what you need.

    For the second problem, look up the syntax for ALTER LOGIN. You'll also need to use that in...

  • RE: Update Statement Working very slow

    Clustered index and non clustered indexes? On what? Please post table and index DDL so that we can help you. Is this update a one-off, or something...

  • RE: Creating Timestamp column

    Timestamp, despite its name, is for row versioning and not for recording times of action. Create your column with datetime data type, and insert GETDATE() into it.

    John

  • RE: going crazy with update statement! Plz help

    You need to do your update in two passes:

    ;WITH t1 AS (SELECT id,price,relatedid FROM trans)

    UPDATE trans

    SET price=(

    SELECT AVG(price)

    FROM t1

    WHERE t1.id<=trans.id

    )

    WHERE relatedid IS NULL

    ;WITH t1 AS (SELECT id,price,relatedid FROM trans)

    UPDATE trans

    SET...

  • RE: going crazy with update statement! Plz help

    Please will you post your actual update statement, since the one you posted has two syntax errors in it.

    Thanks

    John

  • RE: SQLServerAgent initiating self-termination

    Sachin

    It doesn't work like that. Gail, like me, does not get paid for providing answers on this forum, and she is just as likely as me to want to...

  • RE: SQLServerAgent initiating self-termination

    Sorry, but are you the original poster logging in under a different name? If you're not, please start a new thread. If you are, you've confused me, because...

Viewing 15 posts - 5,416 through 5,430 (of 7,191 total)