Changing from Table to View

R

R.D

Hi all

I had a Table which is not well normalised say A. But It was used so much
that all reports - about 250 depend on that.

I have normalised the table and named it differently say B.

I changed the forms where ever updations are done

But as for reports, If use view named 'A' with same feilds(aliases) taken
from different tables will it have any impliations.

To Make myself clear, I will delete Table A and make a view 'A' with from B
and other tables .

I old table A is also rreferenced in stored procedures and Triggers,
functions and other object only in SELECT commands

is it ok or have some implications


Thanks in advance
 
S

Steve Jorgensen

Hi all

I had a Table which is not well normalised say A. But It was used so much
that all reports - about 250 depend on that.

I have normalised the table and named it differently say B.

I changed the forms where ever updations are done

But as for reports, If use view named 'A' with same feilds(aliases) taken
from different tables will it have any impliations.

Possibly, but you should still try to do it. Mainly, performance may suffer
for some reports. In those cases, fix them by updating them to be aware of
table B. It should usually be a smallish subset of the reports.
To Make myself clear, I will delete Table A and make a view 'A' with from B
and other tables .

I old table A is also rreferenced in stored procedures and Triggers,
functions and other object only in SELECT commands

is it ok or have some implications

If those stored procedures and triggers don't do updates to A or they only
perform allowable updates to A (A is not an aggregate query, and no update
affects more than 1 table, etc.) then your fine. Again, you might have a
performance hit here or there, and you should optimise the cases that have
problems if there are any.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top