Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBI delete or truncate ?

Status
Not open for further replies.

donny750

Programmer
Jul 13, 2006
145
0
0
FR
Hello,

I want to use perl DBI to make this query
truncate table FIRM;

It's possible with perl DBI to do this ?

Thanks
 
Why wouldn't it?!?

You just say
Code:
$sth = $dbh->prepare("TRUNCATE TABLE FIRM");

$sth->execute();

Or do you mean something else..?!?
 
ok
it's good
firstly i mean that perl DBI can just make :select,insert,update
 
As MacTommy indicated you can do any sql statements. But you do have to have the authorization to do so. Usually users only have select, insert, update, delete.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top