Viewing 15 posts - 46 through 60 (of 122 total)
Any thoughts/opinions on sp_spaceused?? I often use that ad hoc to get an idea of table size.
July 12, 2016 at 9:43 am
Wow! Thank you or the great information everyone! I will read up on the link Jacob Wilkins provided as well.
February 9, 2016 at 8:49 am
We created Project B simply to get our feet wet with working with database projects. We are helping another team out with Project A and wanted to familiarize ourselves...
December 15, 2015 at 11:27 am
Another option (could possibly be considered a hack) is rather than start the subscription job, instead send a link to the report. I have a job that has several...
October 29, 2015 at 11:16 am
Also not a DBA, more masquerading as a DBD. My top three:
select table_name, column_name
from information_schema.columns
where column_name like '%SomeText%'
order by table_name, column_name
exec sp_spaceused 'SomeTable'
exec sp_help 'SomeTable' -- via Alt-F1
August 25, 2015 at 9:42 am
I have feedback regarding Ctrl-0 to search for a phrase in an object's script. I have something I've been running to do that as well, but it uses sys.sql_modules...
July 13, 2015 at 9:27 am
I have not personally tried this, but I did find this link that may be helpful. Although the example refers to adding the date, perhaps you can get to...
January 2, 2015 at 3:11 pm
I ran into this once as well. In my case, I was executing msdb.dbo.sp_send_dbmail from one database and was querying a table in another. If this is what...
December 1, 2014 at 10:09 am
Hopefully I understood the question correctly. Here is another option. First, here is some sample data:
-- Set up sample tables
if object_id('tempdb..#Table1', 'u') is not null
...
July 11, 2014 at 9:14 am
I use this ALL THE TIME. I am on 2008, and I don't have a 2005 machine on which to test this. I'm pasting it as-is with my...
July 1, 2014 at 10:19 am
I have had to optimize several poor performing stored procedures and queries at my company and the solution in every case is often different. Here are a few things...
July 1, 2014 at 10:00 am
Thank you Sarah for motivating me to get back into the mode of, at the very least, reviewing the current forum topics referenced in the daily email. I used...
July 1, 2014 at 9:18 am
I have chuckled about this several times already today! This is great!
Manic Star (3/21/2014)
I accidentally scrambled production data in an effort to scramble DEV data once.
As if I don't...
March 21, 2014 at 3:24 pm
I had assumed responsibility for a process that paid a particular group of our employees outside the standard system (think expenses, as an example). I had to execute stored...
March 21, 2014 at 11:25 am
Viewing 15 posts - 46 through 60 (of 122 total)