Forum Replies Created

Viewing 15 posts - 751 through 765 (of 3,232 total)

  • RE: Error renaming an index

    This code works fine for me:

    IF OBJECT_ID('dbo.IndexRename') IS NOT NULL

    DROP TABLE dbo.IndexRename

    GO

    CREATE TABLE dbo.IndexRename (

    ID int NOT NULL

    )

    CREATE INDEX IDX_IndexRename_ID ON dbo.IndexRename(ID)

    GO

    sp_rename 'dbo.IndexRename.IDX_IndexRename_ID', 'IDX_IndexRename_ID_Renamed', 'INDEX'

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: How to check for special character in CSV file?

    This does not sound like a case of a special character. It sounds like the package is hung up on a step.

    Can you describe the control flow...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: The multi-part identifier "dbo.Staff.Firm" could not be bound. with a UNION

    You need to use the alias name that you've given dbo.Staff in the UNIONed queries. You've aliased all but the first query as Staff_3, Staff_2, etc. You're SELECT...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Today's Random Word!

    Agreed. I've seen Blind Side twice. It's a great movie!

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Getting connection manager information into a variable?

    MrsPost (1/11/2010)


    The location would change based on the connection manager information at the job step.

    Well, that's a given. How is the connection manager getting its information? Are you...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Today's Random Word!

    Purpose.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: OLE DB Command Using Date as Input

    You know, that does give me an idea. I think I may have to create a user defined funtion in our DB and let some of our 'less informed'...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: OLE DB Command Using Date as Input

    Phil Parkin (1/8/2010)


    Gkhadka (1/8/2010)


    ... and use JOHN command in ur update SQL code.

    Wow, did Mr Rowan get his own command? 😎

    Whooo Hoooo!

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: need help with parsing string

    It looks to me like you need a split function that works with a tally table. You shouldn't have to re-code your function every time the data chages. ...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: starting SSIS from a stored procedure or passing parameters to SSIS from SPs

    This is a duplicate thread already being answered here:

    http://www.sqlservercentral.com/Forums/Topic844735-391-1.aspx

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: starting SSIS from a stored procedure or passing parameters to SSIS from SPs

    Outside of what Todd is suggesting, I know of only one other way to do this. It's a bit out of the box, but I've built an entire automation...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: starting SSIS from a stored procedure or passing parameters to SSIS from SPs

    This is a duplicate thread already being answered here:

    http://www.sqlservercentral.com/Forums/Topic844735-391-1.aspx

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: starting SSIS from a stored procedure or passing parameters to SSIS from SPs

    This is a duplicate thread already being answered here:

    http://www.sqlservercentral.com/Forums/Topic844735-391-1.aspx

    Please don't double, or triple in this case, post. I know you want to get your question answered, but posting multiple...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Insert character question

    Ray K (1/8/2010)


    John Rowan (1/8/2010)


    Here it is using STUFF.

    DECLARE @Var varchar(10)

    SET @Var = 'XXXXXXXX'

    SELECT STUFF(@Var, LEN(@Var) - 2, 0, '.')

    Ah, yes. I defer to those who have more SQL...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Insert character question

    Here it is using STUFF.

    DECLARE @Var varchar(10)

    SET @Var = 'XXXXXXXX'

    SELECT STUFF(@Var, LEN(@Var) - 2, 0, '.')

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 751 through 765 (of 3,232 total)