Viewing 15 posts - 3,571 through 3,585 (of 5,394 total)
I think you should try to filter as much as possible the input with an appropriate index, and then join the correlated table.
Given that usually the primary key is the...
December 22, 2010 at 4:03 am
It depends on what you want to set up. I suppose you want to play with the database, so you'd better install the database server.
Which OS are you installing to?
December 22, 2010 at 3:54 am
SQLkiwi (12/21/2010)
Gianluca Sartori (12/21/2010)
MelS-512196 (12/17/2010)
CROSS APPLY -- try it you'll like it! 😀
... if you like Nested Loops! 😛
It's a great feature, but it often ends up with a Nested...
December 22, 2010 at 1:33 am
You could extract the data in your report from a stored procedure, that could update some table with a "last run date" field.
Even better, without changing the report data source,...
December 21, 2010 at 2:35 pm
Resender (12/21/2010)
Any help would be appreciated, also any advice on book to buy to study would also be handy.
I bought this book from Amazon and I found it very useful:
http://www.amazon.com/gp/product/0470395141/ref=oss_product
Hope...
December 21, 2010 at 9:22 am
Oracle documentation library is the best place to start from:
http://www.oracle.com/pls/db112/portal.portal_db?selected=11&frame=
You can find a detailed installation guide, both PDF and HTML.
December 21, 2010 at 9:19 am
Glad you sorted out.
December 21, 2010 at 9:13 am
Without a query plan to look at, I would end up with a useless suggestion.
I'm sure you can live without it.
December 21, 2010 at 6:42 am
This is how you could do it with a "quirky update".
The technique is described in detail here[/url].
IF OBJECT_ID('tempdb..#tmp_table') IS NOT NULL DROP TABLE #tmp_table
;WITH SampleData (ID, Inv, Est, Diff)
AS (
...
December 21, 2010 at 5:52 am
You're trying to do a running total. Give me a couple of minutes...
December 21, 2010 at 3:26 am
Let's work on the sample data you provided:
IF OBJECT_ID('tempdb..#tmp_table') IS NOT NULL DROP TABLE #tmp_table
;WITH SampleData (ID, Inv, Est, Diff)
AS (
...
December 21, 2010 at 3:13 am
MelS-512196 (12/17/2010)
CROSS APPLY -- try it you'll like it! 😀
... if you like Nested Loops! 😛
It's a great feature, but it often ends up with a Nested Loops implementation. It's...
December 21, 2010 at 3:02 am
SQLkiwi (12/21/2010)
stephan.koeppen (12/21/2010)
Thats the table I have. What i want to do is update the diff column with id 2.
Assuming you want to update all rows, not just the one...
December 21, 2010 at 2:56 am
Viewing 15 posts - 3,571 through 3,585 (of 5,394 total)