Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

stored-functions

Show procedure definition in MySQL

February 15, 2024 by Tarik

SHOW CREATE PROCEDURE <name> Returns the text of a previously defined stored procedure that was created using the CREATE PROCEDURE statement. Swap PROCEDURE for FUNCTION for a stored function.

Categories sql Tags database, mysql, sql, stored-functions, stored-procedures Leave a comment

Functions vs procedures in Oracle

March 7, 2023 by Tarik

The difference is- A function must return a value (of any type) by default definition of it, whereas in case of a procedure you need to use parameters like OUT or IN OUT parameters to get the results. You can use a function in a normal SQL where as you cannot use a procedure in … Read more

Categories oracle Tags oracle, oracle11g, plsql, stored-functions, stored-procedures Leave a comment

View stored procedure/function definition in MySQL

January 13, 2023 by Tarik

SHOW CREATE PROCEDURE <name> Returns the text of a previously defined stored procedure that was created using the CREATE PROCEDURE statement. Swap PROCEDURE for FUNCTION for a stored function.

Categories mysql Tags mysql, stored-functions, stored-procedures Leave a comment

SQL Server – where is “sys.functions”?

December 21, 2022 by Tarik

I find UDFs are very handy and I use them all the time. I’m not sure what Microsoft’s rationale is for not including a sys.functions equivalent in SQL Server 2005 (or SQL Server 2008, as far as I can tell), but it’s easy enough to roll your own: CREATE VIEW my_sys_functions_equivalent AS SELECT * FROM … Read more

Categories sql Tags sql, sql-server, sql-server-2005, stored-functions Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa