sqlText = "select name from sysdatabases order by name".
How can I get such a list for the currently logged in user only?
Thanks in advance
Harold HoffmanI found it.
select name from sysdatabases where HAS_DBACCESS(name) = 1 order by name
Harold Hoffman
No comments:
Post a Comment