thedumbkid
Programmer
Hi people, I am doing database migration from MS SQL Server to PostgreSQL. I need to know whether parameters can have default values?
In ms sql server, you can assign default values to your parameters. This feature allows you to call the stored procedure without giving parameters that have default values. If parameters are not given, then default values are assume.
I guess this is possible because in SQL Server you can't create stored procedures with the same name, but pgsql allows overloading of functions.
I just want to know a definite answer whether this is possible or not.
thanks a lot!
In ms sql server, you can assign default values to your parameters. This feature allows you to call the stored procedure without giving parameters that have default values. If parameters are not given, then default values are assume.
I guess this is possible because in SQL Server you can't create stored procedures with the same name, but pgsql allows overloading of functions.
I just want to know a definite answer whether this is possible or not.
thanks a lot!