On 6/26/07, Mercea Paul <[EMAIL PROTECTED]> wrote:
> SP exist in database, second SP not exist. If SP exist , just run, etc. For
> this case it would be useful to have a method to check if SP exist in
> database, if not, recreate procedure. (this works only for FB2 I think, for
> FB 1.x just create).
>
> Sample code:
>
> FBCommand fbCommand1 = new FBCommand();
>
> fbCommand1.CommandType = CommandType.StoredProcedure;
>
> if (!fbCommand1.Exists) {fbCommand.Recreate()};
>
> What do you think about ???
>
How can FBCommand (re)create procedure? FBCommand has no idea about
internal code of procedure.
--
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider