When I need to truncate a table, I just temporarily suspend the constraint...

-- Alter table and truncate
alter table mytable disable constraint myconstraint;
truncate mytable;
alter table mytable enable constraint myconstraint;

On 7/27/05, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> That's the angle I'm trying to use, but as it stands now, there's no
> other app creating the data aside from the VB app.  I've found out
> that the reason it was left out originally was that the designer
> thought it would be faster and having a defined relationship precludes
> the use truncating a table.
> 
> Marlon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:166876
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to