Viewing 15 posts - 23,326 through 23,340 (of 39,936 total)
The issue with encryption is that many times the DBA can still get to the keys, or add themselves to the group that can access the keys for encryption/decryption.
Or they...
July 8, 2009 at 8:24 am
What you'd want to do is extract out the month and date using substring. Then you can cast this as a number, and sort appropriately.
So
Where cast( substring( field, 1,...
July 7, 2009 at 2:43 pm
There's no way to do this other than logging the data. It doesn't magically exist anywhere in the server.
A server side trace, which you can template out from Profiler, will...
July 7, 2009 at 1:09 pm
Your format is wrong.
select a
from tableA
inner join Table B
on a.x = b.x
WHERE a.y = 1
The joins come before the WHERE.
July 7, 2009 at 1:06 pm
Also, you can use SETUSER to run this for any login, and then REVERT back to your user. Add a script around that and you can easily get all permissions.
July 7, 2009 at 10:08 am
It's going to be a huge mess in any case. The dump of permissions for objects for users is a huge amount of data, and it's impossible to read. It's...
July 7, 2009 at 10:07 am
On the log files not shrinking, there is a script on this site (Forcibly shrink[/url]) that cycles through transactions and clears the virual files, moving them to the beginning and...
July 7, 2009 at 8:30 am
First, the sp_ issue is a problem, and you could avoid it. spXXX is fine.
Many people choose a standard for procedures (usp, USP_, sp), but I rarely see tables prefixed....
July 7, 2009 at 8:26 am
Michael,
First you need to clarify 32bit v 64bit as so many systems are moving to 64. Second, I think you are correct for 32 bit. Once you go with AWE...
July 7, 2009 at 8:05 am
I thought this was great, and I learned something when this came through.
I don't know how this is related to ACID, but it's a nice little loophole for logging things....
July 7, 2009 at 7:52 am
Never satisfied, are we Hugo?
I have changed it to "B is returned. A simple change that would be better: ..."
July 6, 2009 at 8:46 pm
It hurts my eyes just to read those. I have the feeling I won't even be able to communicate with my grandkids if they start typing like that.
July 6, 2009 at 3:14 pm
I don't think that's true. You don't need to grant a user rights to a table, if the table owner and the stored procedure owner are the same.
I need to...
July 6, 2009 at 3:09 pm
Being clear helps in that perhaps there is something specific to what you are accessing.
In this case, I am surprised that you cannot grant select to these views. Perhaps there...
July 6, 2009 at 2:30 pm
I assume you know how the script works and are not just running some random code on your server. There is a filter event for the duration, and you need...
July 6, 2009 at 2:13 pm
Viewing 15 posts - 23,326 through 23,340 (of 39,936 total)