Viewing 15 posts - 181 through 195 (of 312 total)
The output will not work since I am deleting the children first and I am not sure if the values will be in that table. Since there are multiple...
September 12, 2008 at 12:21 pm
Is that not what I pasted in on the post above?
September 12, 2008 at 10:22 am
Ninja is right cascade is not an option on self referencing tables
September 11, 2008 at 3:19 pm
I have to do a join already for the self reference
WITH tree (id) ...
September 11, 2008 at 3:13 pm
Can't remember the specifics and maybe someone else does. If you take the mdf and reattach it to the 2K engine it should work. Then under option in...
September 11, 2008 at 12:22 pm
Is the cube partitioned? how many records in the cube? Have you tried to manually refresh the cube?
September 11, 2008 at 12:20 pm
When you click on the server and change the database settings it does not say you have to restart the service. When I did that and tried to create...
September 11, 2008 at 12:18 pm
So I ended up running DBCC Checktable and that fixed the select issue. I was still having trouble on the delete. It was the self reference making the...
September 10, 2008 at 11:58 am
I am currently running
UPDATE STATISTICS Pieces WITH ROWCOUNT=1000000
Go
Not sure if that will fix this or not. It has been already running for 10 minutes. Which makes me think...
September 10, 2008 at 8:38 am
Thanks I appreciate the feedback. We used the isolation on another solution that worked well. We are currently using timestamp all over to make sure we are versioning...
August 22, 2008 at 8:47 am
can you do this instead. It would require less i/o then a temp table
--Get all Matching Products
Select ProductName,CategoryName, TheCount
From Product
INNER JOIN
(SELECT CategoryName,count(CategoryName) TheCount
From Products
Where ...
) sub
ON CategoryName =...
August 15, 2008 at 2:03 pm
I just wanted to say thanks. Once I put this proc into a production setting it was destroyed not only time wise but it locked up. The Team...
August 14, 2008 at 12:09 pm
Thanks for the advice. Everything I have ever been taught says No to cursors especially two cursors recursively calling themselves. I have to imagine when I put this...
August 14, 2008 at 8:51 am
I had delete cascade working before this but they wanted more flexibility. They said if this works it would help in the long run.
August 13, 2008 at 4:06 pm
you have to think larger scale on this. This is one proc that you can send any table in a relational DB and it deletes all data pertaining to...
August 13, 2008 at 4:05 pm
Viewing 15 posts - 181 through 195 (of 312 total)