On SQL SERVER:
I have a schema on my database created using command:
CREATE SCHEMA my-schema AUTHORIZATION [G_USER]
When I try search for the schema using the following statement I do not get any result.
SELECT * FROM sys.schemas WHERE name=N'my-schema'
However when I try
SELECT * FROM sys.schemas
I get a whole bunch of other schemas but not the my-schema which I created on the database.
Am I doing something wrong? Any Help will be greatly appreciated.
Thanks!