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

Thread: tablespaces

  1. #1
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    Hi All,

    I have this query to get the statements to resize my tablespaces. How do I get it to put a ' round the filename?

    select 'alter tablespace ' ||file_name ||' resize 50M;' from dba_data_files


    Cheers

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Originally posted by davey23uk
    Hi All,

    I have this query to get the statements to resize my tablespaces. How do I get it to put a ' round the filename?

    select 'alter tablespace ''' ||file_name ||''' resize 50M;' from dba_data_files


    Cheers
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  3. #3
    Join Date
    Jan 2001
    Posts
    3,134
    Jeff is my hero!

    MH

    [Edited by Mr.Hanky on 10-14-2002 at 09:18 AM]
    I remember when this place was cool.

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    thanks

  5. #5
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Originally posted by Mr.Hanky
    Jeff is my hero!

    MH

    [Edited by Mr.Hanky on 10-14-2002 at 09:18 AM]
    Yeah, yeah, yeah. http://www.dbasupport.com/forums/sho...threadid=18412
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

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