Viewing 15 posts - 646 through 660 (of 1,641 total)
Thanks, much, it is exactly like what I wrote too.
It looks like we don't need the cursor. Not sure why PLSQL uses that.
May 3, 2013 at 1:19 pm
mister.magoo (4/26/2013)
Please don't use a trigger for this, make all your transactions through stored procedures and have that update the Oracle server,...
April 26, 2013 at 6:18 pm
Thanks, it seems I can only leave it as it is as a index scan for the view, and optimize other parts.
April 18, 2013 at 1:08 pm
Thanks, tried to add filter with where studentID=.. and schoolyear=.. this time it uses the index seek.
The reason I asked this is because we have a view that is in...
April 18, 2013 at 1:02 pm
Thank you, that is good to know too.
Right now this server is setup to use windows authentication, that works for us.
April 18, 2013 at 12:55 pm
here are the table definition in attachment, and select. with a filter
No matter what I use the execution plan uses index scan.
April 18, 2013 at 12:49 pm
Thanks, I would like to figure out this before I do the repair.
April 18, 2013 at 11:42 am
Thanks, that is a good alternative. I ended up adding that account temporily into database as dbowner when backing it up, after done, I removed it from original database.
So when...
April 18, 2013 at 11:36 am
Can this account itself add himself as a dbowner right after the database is restored?
April 18, 2013 at 9:57 am
Jeff Moden (4/16/2013)
sqlfriends (4/16/2013)
Now we change the view to hopefully speed it up.
...but we have a batch process at night that uses it [font="Arial Black"][highlight=""]for each [/highlight][/font]individual. so overall it...
April 17, 2013 at 10:21 am
rals (4/17/2013)
If you are using SSIS, recently I came across a situation that extracting data using a view from SSIS slower but running the same...
April 17, 2013 at 10:13 am
GilaMonster (4/16/2013)
sqlfriends (4/16/2013)
April 17, 2013 at 10:12 am
Thanks, that is very strange then,
In maintenance plan, we just use regular backup. we don't do with norecovery.
And I did check with one developer, he didn't do anything either.
Wierd...
April 12, 2013 at 4:53 pm
By your hints, I do have some clue now.
we do have a full, diff, and a transaction log backup scheduled. Full happens only at weekend, transaction and diff will happen...
April 12, 2013 at 4:33 pm
It is not using index for the view.
It is developed by other developers that has gone.
It does have underlying tables for the view, so I guess one purpose for using...
April 12, 2013 at 12:58 pm
Viewing 15 posts - 646 through 660 (of 1,641 total)