Forum Replies Created

Viewing 15 posts - 21,316 through 21,330 (of 22,202 total)

  • RE: SQL Server 2005 Scripting

    To my knowledge, not using this quick way of scripting. If you do an actual export to file you get the option of having a single file or seperate files...

  • RE: user stored proc parameter finder

    I'm not sure what you mean. We're not talking about tables, but about stored procedures. If you have a data type of int in the stored procedure, the character length...

  • RE: user stored proc parameter finder

    This isn't documented, but does what you want:

    exec sp_procedure_params_rowset 'procname'

    The -1 returned by the view is the designed method. The procedure, in my mind, is worse. It shows a length...

  • 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...

Viewing 15 posts - 21,316 through 21,330 (of 22,202 total)