clarification
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 10

Thread: clarification

  1. #1
    Join Date
    Jul 2003
    Posts
    53

    clarification

    Hi,

    Can i write to a file on local machine (client side) from blob to a text file /gif/etc in pl/sql programmming
    If its so can u give me an example

    Thanks in advance
    Anupama
    anu

  2. #2
    Join Date
    Jan 2003
    Location
    india
    Posts
    175
    you can try the package UTL_FILE.

  3. #3
    Join Date
    Jan 2003
    Location
    Hull, UK
    Posts
    220
    I think shes talking about writing to client hard disk and not the server.

    Is that possible using UTL_FILE ?

    Srini

  4. #4
    Join Date
    Jan 2003
    Location
    india
    Posts
    175
    if we can map the client hard drive to the server.

  5. #5
    Join Date
    Jan 2001
    Posts
    2,828
    Hi Anu

    Nope you Cannot do it in pl/sql with utl_file package .You should do it in some client program.

    for example if your using sql * plus try spool filename .If you are using developer 2000.Then there is something else.

    Pl/sql was not designed to do client side file-IO

    regards
    Hrishy

  6. #6
    Join Date
    Jan 2003
    Location
    Hull, UK
    Posts
    220
    Even i was thinking the same hrishy......

    no way we can write to client side using pl/sql.

    Srini

  7. #7
    Join Date
    Mar 2001
    Location
    Reading, U.K
    Posts
    598
    Can't we try this by writing a JAVA CLASS and upload into Oracle.
    Cheers!
    OraKid.

  8. #8
    Join Date
    Mar 2001
    Location
    Reading, U.K
    Posts
    598
    Sorry press the submit button before finishing the whole stuff.

    Can't we try this by writing a JAVA CLASS which will write to the client machine using fileoutputstream. Read using fileionputputstream
    Cheers!
    OraKid.

  9. #9
    Join Date
    Jan 2003
    Location
    Hull, UK
    Posts
    220
    Rajab

    Do u mean this...

    If its a windows 200 server

    The client drive must be a domain share on the db server.

    Utl_file parameter needs to be set to '*'.

    theres security issue with parameter setting to '*'

    Anyone has done this kinda stuff.

    Srini

  10. #10
    Join Date
    Jan 2003
    Location
    india
    Posts
    175
    i have not tried.
    but i hope we can map and do.

    -Raja

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width