DBA Team Structure – Thoughts From Real Life
I once talked about the DBA team building about 3 years ago, now when I look back, I still believe...
2011-11-20
3,329 reads
I once talked about the DBA team building about 3 years ago, now when I look back, I still believe...
2011-11-20
3,329 reads
I once wrote a post to find the largest tables in a database, and now after studying PowerShell, I feel...
2011-09-18
2,029 reads
I feel somehow sad today (Aug 31, 2011) to see one of my colleagues “laid-off”. I put quotation mark around...
2011-09-01
1,882 reads
As a DBA, we have a lot to work on and also we have a lot to learn about. The...
2011-08-20
1,389 reads
One of interesting tasks I once had is to check the # of code lines for all user stored procedures (SPs)...
2011-08-14
1,399 reads
In my company, every two years, we have a tradition to collectively ponder at the technology road map for the...
2011-08-13
2,313 reads
For almost all sql backup jobs, we want to have a step to delete old backup files older than a...
2011-08-06
4,503 reads
From time to time, I need to find the largest tables in terms of rows / used space / total space etc....
2010-09-28
32,729 reads
One of my test servers, due to the unexpected growth of a user db, the local drive is used up,...
2010-08-13
11,959 reads
Recently quite a few MVPs (here, here and here ) are handling out MSDN Ultimate subscriptions in the community. What interests...
2010-07-08
1,165 reads
By Steve Jones
ecstatic shock – n. a surge of energy upon catching a glimpse from someone...
By Chris Yates
The New Arena of Leadership The role of the Chief Data Officer is no...
Presenting you with an updated version of our sp_snapshot procedure, allowing you to easily...
Comments posted to this topic are about the item Find Invalid Objects in SQL...
Comments posted to this topic are about the item Lessons from the Postmark-MCP Backdoor
If I want to track which login called a stored procedure and use the value in an audit, what function can I use to replace the xxx below?
create procedure AddNewCustomer @customername varchar(200) AS BEGIN DECLARE @added VARCHAR(100) SELECT @added = xxx IF @customername IS NOT NULL INSERT dbo.Customer ( CustomerName, AddedBy ) VALUES (@customername, @added) ENDSee possible answers