instTst
Pilgrim

Running SQL script on fail only

Hi,

I'm trying to Deploy a SQL database through installshield (installscript project), but I want to have it so that if the database exists already, script A will fail (which happens) but only in this case, call on script B. Is there any way to do this?

Regards,

J
Labels (1)
0 Kudos
2 Replies
SteveLovell
Pilgrim

Wouldn't you do this using SQL statements, such as if not exists do A if exists do B?
0 Kudos
instTst
Pilgrim

I want to also do some custom actions in the installer if SQL fails. Just curious.
0 Kudos