• Got it wrong - did not see the final closing square bracket.

    But what "stuns" me is the fact that SQL Server does not deal correctly with this object name.

    Looks like it is too complicated 😀

    --Original name from the create table statement:

    VarArray[]](i int)

    --GO

    begin tran

    insert into Vararray(i) SELECT 1

    rollback

    --GO

    while 1 = 1

    SELECT NAME FROM sys.objects WHERE name LIKE 'Var%'

    VarArray[](i int)

    --GO

    begin tran

    insert into Vararray(i) SELECT 1

    rollback

    --GO

    while 1 = 1

    Notice the 2nd closing square bracket in the first line is missing.

    (The same issue in the object browser. You cannot delete

    Best Regards,

    Chris Büttner