Search code examples
sqlt-sqlsap-ase

How to hide my sql source code using sybase ase?


I have 3 SPs that do a validation regarding some input and output tables.

They check if none of the data was changed.


I don't want to anyone see how the validation is made.

So, how can I hide this SPs code?


Solution

  • I've found the sp_hidetext :)

    Hides the source text for the specified compiled object. Hides the text of computed columns and function-based index keys.

    It isn't reversible so save the code before using it!