SYBASE

    技术2022-05-20  34

    #sybase version----------------------------------SYBASE_VERSIONif [ -f "/opt/sybase/SYBASE.sh" ]then . /opt/sybase/SYBASE.sh echo $SYBASE_ASE >> $OutPutPath/SYBASE_VERSION echo "select @@version" > $OutPutPath/collsql.sql echo "go" >> $OutPutPath/collsql.sql echo "sp_helpsort" >> $OutPutPath/collsql.sql echo "go" >> $OutPutPath/collsql.sql echo "sp_helpdb" >> $OutPutPath/collsql.sql echo "go" >> $OutPutPath/collsql.sql echo "sp_helpmaster" >> $OutPutPath/collsql.sql echo "go" >> $OutPutPath/collsql.sql echo "sp_spaceused" >> $OutPutPath/collsql.sql echo "go" >> $OutPutPath/collsql.sql isql -SDBSVR -Usa -P$_sybasepassword -i$OutPutPath/collsql.sql >> $OutPutPath/SYBASE_VERSIONfi

     


    最新回复(0)