View Single Post

  #10 (permalink)  
Old 05-09-2008
Sherman Pendley
 
Posts: n/a
Default Re: DROP TABLE customers

Ignoramus26246 <ignoramus26246@NOSPAM.26246.invalid> writes:

> I would like to know if Perl's DBI supports an attribute that would
> make a database handle read only.
>
> That is, I am looking for a way to make a handle read only so that all
> subsequent queries that seek to modify the database, would not proceed
> at all.


Define a user that has the permissions you want, and log in with DBI using
that user.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Reply With Quote