25.10.2013 Views

New SQL Features in Firebird

New SQL Features in Firebird

New SQL Features in Firebird

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18<br />

ALTER VIEW \ COMPUTED FIELD<br />

Syntax<br />

{CREATE OR ALTER | ALTER} VIEW [()]<br />

AS <br />

ALTER TABLE <br />

ALTER [TYPE ] COMPUTED BY ()<br />

Task<br />

● change view (or computed field) def<strong>in</strong>ition<br />

● Before <strong>Firebird</strong> 2.5<br />

● drop and create (or alter two times) aga<strong>in</strong> all dependent objects<br />

● restore all privileges granted to all dependent objects which was re-created<br />

● <strong>Firebird</strong> 2.5<br />

● just execute ALTER VIEW and enjoy :-)<br />

Luxembourg 2011 Whats new <strong>in</strong> <strong>Firebird</strong> <strong>SQL</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!