db_datareader

  • Hi

    I have a login with db_datareader and nothing else however I was quite suprised to find I could create temporary tables with this user.

    Should this be possible or have I missed something?

    Thanks

  • just having a login gives you read rights to some master tables and the ability to create #tmp tables; that's perfectly normal.

    you do not even need to be a user in a database to create temp tables ont he fly.

    they do not have the ability to browse to the tempdb database and create anything, just the CREATE #Table or SELECT INTO #Tablename

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply