Viewing 15 posts - 4,096 through 4,110 (of 5,393 total)
Probably cardinality changes in your joins to other tables. I can't tell from here.
Try using DISTINCT in your query (it goes immediately after SELECT).
I would suggest you to check the...
-- Gianluca Sartori
June 24, 2010 at 1:52 am
Looks like your view definition comes from an Oracle port, isn't it?
This should do the trick for you:
CREATE VIEW open_items_summary
AS SELECT vendor_name,
...
-- Gianluca Sartori
June 24, 2010 at 1:42 am
Duplicate post.
Replies here, please:
http://www.sqlservercentral.com/Forums/FindPost942232.aspx
-- Gianluca Sartori
June 24, 2010 at 1:35 am
No, it can't be done.
Depending on the aggregate you're using, you could rewrite the query to achieve the same thing in a different way.
Problem is I don't see any aggregate...
-- Gianluca Sartori
June 24, 2010 at 1:33 am
at1155 (6/24/2010)
PK is Index_code, Code1, Code2
I don't see this in your sample data. Are you sure?
-- Gianluca Sartori
June 24, 2010 at 1:29 am
As the message says, INSERT - EXEC cannot be nested.
This probably means that sp_replmonitorhelpsubscription internally uses INSERT - EXEC.
Some workaround could be using OPENROWSET to wrap the procedure:
insert into #replmonitor...
-- Gianluca Sartori
June 24, 2010 at 1:04 am
June 24, 2010 at 12:54 am
That's called "optimistic locking".
ADO and other DB libraries implement this technique natively.
-- Gianluca Sartori
June 23, 2010 at 10:28 am
I agree with you, Scott.
This causes some problems when data stored in the table is of type datetime and you just want to filter for the date part.You would generally...
-- Gianluca Sartori
June 23, 2010 at 8:12 am
I'm sorry , I don't understand.
Any examples?
-- Gianluca Sartori
June 23, 2010 at 6:21 am
Nice editorial, Steve.
I experience the same every day here at work. Looks like people are not paid to do their job, but to push some buttons on the screen.
When something...
-- Gianluca Sartori
June 23, 2010 at 6:20 am
Simply foolish choice.
Anyway, you could pre-process the files splitting them into three files depending on the A/B/C flag.
-- Gianluca Sartori
June 23, 2010 at 3:02 am
June 23, 2010 at 2:58 am
It could definitely be partially used pages.
Try rebuilding / reorganizing the clustered index and all nonclustered indexes.
-- Gianluca Sartori
June 23, 2010 at 2:55 am
I tried to search the original source of this script to link it back to you, but I couln't find it.
It's a nice script by Jeff Moden that could help...
-- Gianluca Sartori
June 23, 2010 at 2:03 am
Viewing 15 posts - 4,096 through 4,110 (of 5,393 total)