Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
There's not really any such thing as a read-only DBI connection, only users who don't have permission to make changes. To divine whether the user you're logged in as has permission to make changes, you need to query the database's metadata tables. Unfortunately, what these are called, where you find them, and what they contain will differ from one RDBMS to another. If, as is likely, you're using MySQL, then see this.

In reply to Re: How to know if a DBI connexion is read-only? by DrHyde
in thread How to know if a DBI connexion is read-only? by citromatik

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [Corion]: marto: That post is a repost/duplicate of Excel sheet data write issue :-D
    [Corion]: Whoops - Merging worksheets in .xls in one Excel sheet
    [marto]: Corion, whoops, can the moderation me amended?
    [Corion]: marto: We could vote, unconsider and reconsider ;)
    [Corion]: "vote keep", I meant ;)
    [Corion]: marto: But that aside, I hope you are well!
    Corion is slowly acclimatizing to working only four days a week
    [marto]: the back pain is still there, it's been a rough week, trying to do building work with a bad back
    [Corion]: marto: Ow! That doesn't sound good :-/ The work won't help your back...

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (10)
    As of 2017-09-21 14:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      During the recent solar eclipse, I:









      Results (248 votes). Check out past polls.

      Notices?