Viewing 8 posts - 1 through 8 (of 8 total)
Unfortunately this doesn't solve the problem with nested INSERT INTO ... EXEC procedures since it uses same technique.
But it is helpful to read the structure of the dataset, returned by...
March 23, 2016 at 1:57 pm
Hi Brian,
I assume you are using transactional database as an example, but I would like to hear your thoughts on ROLAP structure. There is an opinion among Data Mart developers...
January 19, 2015 at 7:56 am
INSERT EXEC is not the best method by itself.
I would try to extract the code from your SP and wrap it in new function, then change the SP to call...
December 5, 2013 at 7:38 am
MyDoggieJessie (10/15/2013)
You know that doing COUNT(*) on a table with a lot of columns and a lot of rows can take a lot of time and memory
There is virtually no...
October 15, 2013 at 7:52 am
That is well-known behavior of the COUNT(), but the question I have is this: What makes you think that COUNT(1) in any way superior to CONT(*)?
October 14, 2013 at 11:32 pm
Exactly my thoughts, Dirk. This solution doesn't work with rolled back transactions. The only way we have found is to use cmdshell to log errors in local txt file on...
March 28, 2013 at 5:50 am
There is a great article by the way, on dynamic SQL and the ways to avoid it here:
July 30, 2010 at 9:02 pm
Jacob,
there is a simple solution to make < and > work with non-dynamic version, when parameter is null.
In your example:
/*
Option 1
This will not work if "@ReorderPoint" IS NULL
*/
SELECT *
FROM Production.Product
WHERE...
July 30, 2010 at 8:55 pm
Viewing 8 posts - 1 through 8 (of 8 total)