Forum Replies Created

Viewing 15 posts - 166 through 180 (of 322 total)

  • RE: Count # Rows for 25 tables and output it to a table

    I append row counts to a table every night with a procedure that uses the following code (which I got from here):

    SELECT o.nameas [TableName]

    ,i.rowsas [RowCount]

    FROM sysobjects o

    INNER JOIN sysindexes...

  • RE: Where is column description located in a system table

    I noticed the other day (which may or may not be relevant) that (things like column descriptions) added in the the table designer are added as an extended property with...

  • RE: The Exceptional DBA Awards

    Am I (and Google "define") the only ones who don't know the definition of "colleagures"?

    Google finds references, but not definitions.

    I assume that knowing that ought to give you...

  • RE: The Exceptional DBA Awards

    RE:"Nominate yourself, no points off for that if you think you're an exceptional DBA."

    As I have admitted in other posts, I'm not a real DBA, I just play one at...

  • RE: The Exceptional DBA Awards

    I wonder if others are going to find it difficult to nominate other DBAs because they don't typically get to see many other DBAs in a work environment. Based on...

  • RE: How to export sql server data into multiple excel sheets ?

    I much prefer treating this requirement as a pull rather than a push. Make each query into a view, and give your user(s) select access to the view.

    Then create a...

  • RE: When sp_depends fails

    Thanks.

    You might want to do something to avoid also listing references to tables that include the target name with a prefix or suffix; e.g. 'MyTable' will also return...

  • RE: SSIS Is Not Just for SQL Server

    I was disappointed when, per the MS Connect site, that the horrible flaw in the SSIS FTP task was not fixed. (The flaw is that the source/destination directory is arbitrarily...

  • RE: Is XML the Answer?

    You deserve at least a dozen ataboys!

    OK, I am reacting to the title(!), although a brief read seems to confirm your insights, and I promise to read the whole thing...

  • RE: Limiting impact of poorly designed queries

    Thanks Hans! I guess I'll need to play with that and (yet again) try to educate myself.

  • RE: Limiting impact of poorly designed queries

    Toni - Until you pointed out that QUERY_GOVERNOR_COST_LIMIT had to be set in the query, it had not occurred to me. If the new Resource Governor falls into the...

  • RE: Excel - Copy and Paste Macros

    In VBA, the CurrentRegion property of a range can be used to find the limits of an area containing data, as defined by blank rows/columns surrounding the data area.

    So...

  • RE: Views hurt Performance?

    There is a danger in assuming that the database engine will simply do what we simplistic users fear we would have to do if we were processing the query. Remember...

  • RE: adp,parameters in functions, subsequent views

    Tomm Carr (4/22/2008)


    I don't know why you just couldn't use:

    select * from dbo.function1( '2007-12-01', '2007-12-31' )

    instead of wrapping the function (itself a wrapper) inside a view.

    Your problem is that there...

  • RE: Limiting impact of poorly designed queries

    The response I liked best was from Matt, and later Oberion.

    My initial question suffered from a lack of full disclosure:

    My current DB is for query only (OLAP if you like,...

Viewing 15 posts - 166 through 180 (of 322 total)