security

Technical Article

RE: Nested transactions in nested sprocs- possible?

  • Reply

Some observations: 1a) Rollback tran affects all active transactions. The commit is meaningless because the only transaction has just been rolled back. 1b) Code works with the save point because the rollback was specific to the save point. 2a) No problem with transactions over nested procedures. 2b) You can return codes with care. We use […]

You rated this post out of 5. Change rating

2003-06-20

1 reads

Technical Article

RE: SQL Server Agent fails to start - no error msg

  • Reply

Hi Csaba, quote: We have a Win2000 server (SP2) with SQL Server 2000 (SP3). The SQL Server service is running fine without any problem but recently the SQL Server Agent could not be started. There's the following error in the Event log: "The SQLSERVERAGENT service terminated unexpectedly." This is the content of the latest Agent […]

You rated this post out of 5. Change rating

2003-06-20

Technical Article

RE: Find transaction history

  • Reply

Hi tyang, quote: Again since my boss does not want to spend much money on the third party tools, I will try it on my own, but there are too many tables, so it is hard to set the triger on every table. maybe you should tell your boss, to consider the implicit cost when […]

You rated this post out of 5. Change rating

2003-06-20

Technical Article

RE: The Scheduled jobs (6.5) suddenly started failing

  • Reply

From what you tell it sounds very much like the server accepts Windows authentication only. The sa account is no Windows NT account and therefore can't log on if you use Windows authentication. quote: I have checked the registrty permission’s on HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\MSSQLServer The local Administrators group has Full Control (ie read/Write) of this key. The […]

You rated this post out of 5. Change rating

2003-06-20

Technical Article

RE: creating a db user role

  • Reply

You only need to allow access the the user db, and optionally place them in a user-defined role. For the SP in that db that creates a temp table, just grant execute permission to the user, or to public (the lazy way ), or to the user-defined role. No tempdb permissions are required.

You rated this post out of 5. Change rating

2003-06-19

Technical Article

RE: creating a db user role

  • Reply

Be careful of assigning db_ddladmin for the purposes you've described. It will give the users permission to manipulate object definitions (tables/views/SPs), but not the execute permissions you require. Unfortunately SQL doesn't have a db_ExecuteAnyUserProcedure role. You need to grant execute rights on each stored proc. The public execute permission problem is a weird one. Often […]

You rated this post out of 5. Change rating

2003-06-19

Technical Article

RE: creating a db user role

  • Reply

All I want to do is to give users read,write and execute permission on the database. So I thought of creating a new db role and assign db_reader,db_writer and ddl_admin roles.What should I do then? By the way, I restored a production dump to test environment. Stored procedures which has execute permission to public in […]

You rated this post out of 5. Change rating

2003-06-19

Blogs

The Future of the Social Web Is in Good Hands

By

The Social Web Foundation is aiming to grow the fediverse and make the social...

Monday Monitor Tip: Compliance Checking for Old Versions

By

A customer recently wanted to know if any of their instances were too old...

Making Legend Order Match Segment Order in a Power BI Stacked Column Chart

By

A reader of one of my previous posts pointed out that the legend order...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers