Forum Replies Created

Viewing 15 posts - 21,301 through 21,315 (of 22,184 total)

  • RE: SQLServer 2005 Log/Data Files

    Personally, I use autogrow. But, I recognize that it is a crutch. I spend a lot of time & effort in setting up monitoring so that I know how much...

  • RE: user stored proc parameter finder

    SELECT * FROM INFORMATION_SCHEMA.PARAMETERS

    WHERE SPECIFIC_NAME = 'myproc'

    That'll get you exactly what you want

  • RE: SQLServer 2005 Log/Data Files

    I agree, if you have no information on anticipated load, etc., about 25% of the initial data size would be a prudent number.

    However, I'd make sure I had a more...

  • RE: BTW(By The Way)

    Just remember that short-hand notation like BTW, OTOH, IIRC, are for very informal communication. You can use them on line, but you wouldn't want them in formal documentation, requests for...

  • RE: BTW(By The Way)

    PASS is the Professional Association for SQL Server. They have an annual get together called the PASS Summit. This year it will be in November in Seattle. They also have...

  • RE: SQL Internals : any idea how to get info about file use with multi file db's

    You want to take a look at the catalog views, like sys.database_files which will give you hard information about the files themselves, or dynamic management views, like sys.dm_db_file_space_usage which will...

  • RE: why we use Transactions?

    Because we like our data

    😀

  • RE: how to merge 2 databases

    More detail would be needed to provide useful answers. Does merge mean two identical structures but different data, two completely different structures but similar data, two totally different structures and...

  • RE: Hyperthreading On or Off

    We've gone both ways. If you do leave the hyperthreading on, you can't treat it like a real multi-core machine. So for example we have two processor machines with hyperthreading,...

  • RE: Naming Conventions Help

    What about using a SCHEMA? Then you'd see the list like this:

    Module1.Table1

    Module2.Table2

    Etc. Then you can use the Filter function in SSMS to only display the schema that you're interested in.

    Another...

  • RE: Distinct count across multiple columns?

    Instead of what you had:

    SELECT DISTINCT Address1, Address2, City, Postcode, COUNT(Postcode)

    FROM AddressTable

    GROUP BY Postcode

    HAVING COUNT(Postcode)

    Why not simply do this?

    SELECT Address1,Address2,City,PostCode,Count(PostCode)

    FROM AddressTable

    GROUP BY Address1,Address2,City,PostCode

    HAVING Count(PostCode) > 1

    The GROUP...

  • RE: SQL Server 2005 ( Schema Issue )

    It has to be permissions. Just what it says. Remember, the backup is not running as you, it's running as the account that SQL Server runs under. So you have...

  • RE: Loading Trace Files into table

    OK. That is odd then. I use this function regularly and it doesn't bump tempdb up to 20gb (I'd notice). Any triggers or anything like that on the table that...

  • RE: Cannot decrease logical fragmentation on an index

    It doesn't surprise me to see it in the tables with 50 rows. I ran into the same issue with tables that had less than ~200 rows.

    The others... I'm not...

  • RE: SQL Server 2005 Scripting

    You can do this through Management Studio very quickly. Right clicking the object brings up a menu with "Script Stored Procedure as" and then another menu that has choices like...

Viewing 15 posts - 21,301 through 21,315 (of 22,184 total)