View Single Post

   
  #1 (permalink)  
Old 04-17-2008, 08:34 PM
Ezequias Rodrigues da Rocha
 
Posts: n/a
Default How to overwrite a table [only data]?

Hi list,

I would like to overwrite a table with problem with his original. But there
are some points.

I can't just delete and restore it becouse it has a foreign key and when I
try to delete it ask for drop cascade.

As I know the drop cascade delete in both tables the rows related. Is it
correct ?


Regards...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/

Reply With Quote