User1253338400 posted
Hi ,
I have a db I can see in SSMS named MyTestDB. The server is Case Sensitive with collation SQL_Latin1_General_CP1_CS_AS
i am wanting to see if a db exists . I do the following
SELECT name from sys.databases WHERE name = 'MYTESTDB', notice the upper case.
If it were a Case Insensitive DB it would return one row.
How can i do the select to return one row in a case sensitive db ?
thanks