Forum Replies Created

Viewing 15 posts - 21,286 through 21,300 (of 22,184 total)

  • RE: How to expand this variable for the query to work

    I did some tests. For good or for ill, I found that the XML & Table of Numbers worked better than anything else when dealing with large tables and complex...

  • RE: How to expand this variable for the query to work

    You just have to keep the tests honest. I wasn't counting icons and going "Oooh, it's faster." In the simple tests, both processes had a table scan. The one that...

  • RE: How to expand this variable for the query to work

    Very good points. I was just going to start looking up similar solutions in Itzik's books when I saw your post. I figured there was a way to bring a...

  • RE: How to expand this variable for the query to work

    I just tested it on some larger procs. It really is better. Hmmm I'll have to document this one in our best practices doc.

  • RE: How to expand this variable for the query to work

    antonio.collins (1/6/2008)


    how can this:

    select * from monitor_hosts where @myList like ('%,'+cast(hostid as varchar(8)+'%')

    be faster than this:

    select * from monitor_hosts where hostid in (select val from dbo.fListToValues(@myList))

    the first statement will always...

  • RE: How to expand this variable for the query to work

    If you're using the function as a table, you can simply join to it. We do it all over the place.

    Unfortunately, table valued functions don't have statistics, so if the...

  • RE: Myths

    The link to the ZiffDavis IT myths doesn't seem to be working.

  • RE: Naming Conventions Help

    I agree with Jeff here. Naming tables after the database they're contained in is not going to be helpful. Also, I wouldn't recommend using the module in the names. I'd...

  • RE: SQL Server 2005 ( Schema Issue )

    Inside the SQL Server 2005 folder is a folder called Configuration Tools. Inside there is a tool called SQL Server Configuration Manager. Open that up. In there on the left...

  • RE: SQL Server 2005 ( Schema Issue )

    Is "E" a drive or a share name?

    It has to be permission issue from the service account that SQL Server runs under. Not the 'sa' login, but the login...

  • RE: Naming Conventions Help

    So far we only three or four schema per database. We manage our security through a role in the database. The roles get access to stored procedures. The stored procedures...

  • RE: BTW(By The Way)

    BOHICA

    :w00t:

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

Viewing 15 posts - 21,286 through 21,300 (of 22,184 total)