Viewing 15 posts - 1 through 15 (of 25 total)
Orlando Colamatteo (6/23/2015)
MarbryHardin (6/23/2015)
Or of course you could just call a stored procedure and avoid this issue correct?
Nope...the same issue persists with stored procedures but to a far, far, far...
June 24, 2015 at 7:15 am
Or of course you could just call a stored procedure and avoid this issue correct?
June 23, 2015 at 7:34 am
Good to know.
I'd point out that if someone's application is calling the same query repeatedly in a tight loop you might have a design issue though. You likely need...
June 22, 2015 at 6:42 am
It usually does a pretty good job. Until the code gets more complex, that's where I usually need to spend some time on it to try and eliminate the...
May 15, 2015 at 6:37 am
Jeff Moden (11/13/2014)
November 14, 2014 at 6:36 am
You just need to pick a single unique field like user name, specify an order by on that, then you can just use the last value returned as the input...
November 14, 2014 at 6:33 am
Thank you for your suggestions, but I've about come to the conclusion that there is no way to do this. The problem being that I need access to the...
August 8, 2014 at 9:47 am
Yeah, I was trying to avoid that since it would add more complexity on the SQL side. There are currently different grouping criteria that are handled in formulas within...
July 31, 2014 at 7:27 am
Well, the simplest way would seem to be to just duplicate the SQL structure and code then have the application use an appropriate connection string depending on which country the...
July 25, 2014 at 6:38 am
There are other considerations beyond performance alone that discount the use of dynamic SQL. Speaking of writing it "right" in the first place.
Never say never, but it is something...
April 25, 2014 at 6:06 am
I know what you're saying, but I did a quick test loading 1.2 million rows to a test table which is about 10x what the production table should ever be...
April 24, 2014 at 10:19 am
The bulk of the execution plan cost comes out to a clustered index scan on the primary table. It's more than sufficient for our needs.
If I get the chance...
April 24, 2014 at 6:49 am
This has always been a sticking point for me, it always seemed to lead to "dirty" solutions. This is an approach I came up with to accommodate a flexible...
April 23, 2014 at 3:49 pm
You could create the table with a placeholder name you generate, then use sp_rename @generatedName, @userName; to pass the user defined name as a parameter so that you...
March 20, 2014 at 9:55 am
I have a number of .Net applications utilizing the UDTT's to pass variable numbers of "parameters" to stored procedures. I haven't run into any problems, other than someone forgetting...
February 7, 2014 at 10:35 am
Viewing 15 posts - 1 through 15 (of 25 total)