November 19, 2015 at 9:12 am
sestell1 (11/19/2015)
I like to add square brackets around my nested schemas. :-D:crazy::hehe:
CREATE SCHEMA [[a]].].[c]]]
I'm not sure if that's confusing enough.
November 19, 2015 at 3:19 pm
sestell1 (11/19/2015)
I like to add square brackets around my nested schemas. :-D:crazy::hehe:
CREATE SCHEMA [[a]].].[c]]]
Noooooooooooooooooooooooooooooooooooooooooooo
November 19, 2015 at 3:29 pm
Steve Jones - SSC Editor (11/19/2015)
sestell1 (11/19/2015)
I like to add square brackets around my nested schemas. :-D:crazy::hehe:
CREATE SCHEMA [[a]].].[c]]]
Noooooooooooooooooooooooooooooooooooooooooooo
good joke
November 23, 2015 at 2:02 pm
Thanks for the question. It generated a few interesting comments.
November 23, 2015 at 4:17 pm
My last reply about this exciting QOD.
I have appreciated all the posts as each one learnt me something , even the "joke".
When I installed my SQL Server 2008 Developer ( a long time ago 7 years ) , I have created an application ( the same ones in VC# and VB ) to recreate the full creation script of a database . During the test of the VC# version , I discovered the problem of the characters needing the use of the brackets to put around the same of some objects having "invalid" characters.
After around 6 months , when the code was ended , I remembered that I was horrified by the lack of easiness to read this script as every name was surrounded by brackets. It is why I never dared to post the code of this application. I kept it for me , considering it only like a game with SMO ( SQL Server Management Objects ). Moreover , I was not sure that my work could be useful in a real company but I have learnt about 90% of my current knowledge about SMO and I began able to post usefully on the SMO forum.
Viewing 5 posts - 16 through 20 (of 20 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy