There is little feedback on the smart rename (this cannot be accessed from the top level menus, but you have to select a table, stored procedure, ... from the Object Explorer, and right click them). So this forum topic is here for you to give your opinion about this feature. Have you used it? Would you use it? Do you like it?

Andras
Andras B
0

Comments

6 comments

  • rjpaulsen
    I think this will be handly, I is just not one of those tools that you need every day (Unlike Lay out Sql).

    I used it a few times just to try it and it seems to work well. It would be nice if it supported the renaming of columns.
    rjpaulsen
    0
  • Andras B
    rjpaulsen wrote:
    I think this will be handly, I is just not one of those tools that you need every day (Unlike Lay out Sql).

    I used it a few times just to try it and it seems to work well. It would be nice if it supported the renaming of columns.

    You are right about this feature not used frequently. However, when one needs it it does save much time :). Column and parameter renaming is coming in the next beta.

    Regards,
    Andras
    Andras B
    0
  • EloyOrion
    SmartRename doesn't work with objects named on Russian language.
    Example, this work:


    CREATE TABLE dbo.testSmartRename (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.testSmartRename_p
    AS
    SELECT * FROM dbo.testSmartRename
    GO

    When I use SmartRename to rename a table "testSmartRename" into "SmartRenameTest" I get:

    CREATE TABLE dbo.SmartRenameTest (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.testSmartRename_p
    AS
    SELECT * FROM dbo.SmartRenameTest
    GO

    It's OK, but if there is russian words in sysname:

    CREATE TABLE dbo.тест (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.тест_p
    AS
    SELECT * FROM dbo.тест
    GO

    SmartRenaming "тест" into "test" gives:

    CREATE TABLE dbo.test (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.тест_p
    AS
    SELECT * FROM dbo.тест
    GO

    Table in the proc have been not renamed.
    EloyOrion
    0
  • EloyOrion
    And I have a suggestion to include SmartRename button into Summary context menu.
    EloyOrion
    0
  • Andras B
    EloyOrion wrote:
    SmartRename doesn't work with objects named on Russian language.
    Example, this work:


    CREATE TABLE dbo.testSmartRename (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.testSmartRename_p
    AS
    SELECT * FROM dbo.testSmartRename
    GO

    When I use SmartRename to rename a table "testSmartRename" into "SmartRenameTest" I get:

    CREATE TABLE dbo.SmartRenameTest (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.testSmartRename_p
    AS
    SELECT * FROM dbo.SmartRenameTest
    GO

    It's OK, but if there is russian words in sysname:

    CREATE TABLE dbo.тест (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.тест_p
    AS
    SELECT * FROM dbo.тест
    GO

    SmartRenaming "тест" into "test" gives:

    CREATE TABLE dbo.test (id int IDENTITY(1,1), Col1 varchar(50), Col2 varchar(50))
    GO
    CREATE PROCEDURE dbo.тест_p
    AS
    SELECT * FROM dbo.тест
    GO

    Table in the proc have been not renamed.

    Many thanks for reporting this issue, we will look into it.

    Regards,
    Andras
    Andras B
    0
  • dineshasanka
    it is a nice option.
    Can you include smart renaming of fileds as well
    dineshasanka
    0

Add comment

Please sign in to leave a comment.