Viewing 15 posts - 1 through 15 (of 91 total)
I'm trying to understand relative sizing for design conversation purposes. For example, in this context, would it be reasonable to state that?:
* Selecting 1 row from 1 table with...
December 6, 2016 at 10:30 am
Any downside to using the following query to get elapsed time of the last sproc exec,
where object_id represents the object_id of the sproc under test?:
select last_elapsed_time, *
from sys.dm_exec_procedure_stats
where...
December 5, 2016 at 11:44 am
Thanks SSC. I tried using SET STATISTICS TIME ON per your recommendation. The particular sproc I'm trying to measure returns 11 result sets so SSMS is returning stats for...
December 5, 2016 at 9:41 am
too much overhead I was wondering if there was a simple way
September 13, 2016 at 8:22 pm
The Dixie Flatline (8/21/2016)
You do have a column that can associate the perms with their...
August 21, 2016 at 12:59 pm
I also prefer underscores between words because it's much more readable (studies have proven this).
Movie_Get_First_Showing_Date
vs
MovieGetFirstShowingDate
If you're coming from C#, Java, Javascript then the underscores would look hokey and less readable....
August 17, 2016 at 9:56 am
yeah I was introduced to the NounVerb way of doing things about 10 years ago. These names were generated automatically by a tool. That particular naming convention really...
August 17, 2016 at 9:35 am
why hand-code that which can be automated?
August 17, 2016 at 9:21 am
There are tools which automate the generation of sprocs for a given database. At least 1 of these tools generate sprocs using the naming convention I mentioned.
August 17, 2016 at 8:57 am
Can you describe any specific scenarios where not having the "go" keyword will cause the SSMS batch to fail?
August 6, 2015 at 12:57 pm
oh right. thanks for refreshing my memory on that. it's been a while.
July 28, 2015 at 6:00 pm
I posted a separate thread and table variables don't provide additional debugging capabilities using the SSMS debugger unfortunately.
What are the main benefits of using table variables over temp tables? ...
July 28, 2015 at 3:46 pm
it's a one-off report with 2 levels of nested foreach logic
July 28, 2015 at 3:21 pm
ok I'll include an id in the result set and go through the while loop using select max(id).
July 28, 2015 at 1:23 pm
My question is more specific: For a given result set in a temp table, will "select top 1" and "delete top 1" operate on the same row in a...
July 28, 2015 at 11:36 am
Viewing 15 posts - 1 through 15 (of 91 total)