Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
waterduck
Aged Yak Warrior
982 Posts |
Posted - 2009-06-09 : 04:41:42
|
Hi, how do i divide from system database from user create databases from the following code?SELECT *FROM sys.databases |
|
|
waterduck
Aged Yak Warrior
982 Posts |
Posted - 2009-06-09 : 04:48:38
|
| i mean i wanna have the records of user create database instead of system create database |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-06-09 : 04:55:39
|
If you don't allow SA account to create a database...WHERE owner_sid <> 0x01 E 12°55'05.63"N 56°04'39.26" |
 |
|
|
waterduck
Aged Yak Warrior
982 Posts |
Posted - 2009-06-09 : 05:09:53
|
| hehe thx peessoo, btw can u give me some guide link for learning set-based, i think i need to throw cursor away... |
 |
|
|
|
|
|