richardcrossley / aseisql

Automatically exported from code.google.com/p/aseisql
0 stars 0 forks source link

New Macro #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi!

New Macro: (stubs.sql, ustubs.sql)

%USERNAME_DB%   Current user name in the database. (dbo, ...)

Thank you for your attention.

Original issue reported on code.google.com by zluis0@gmail.com on 7 Oct 2009 at 8:30

GoogleCodeExporter commented 8 years ago
The "call" to "user-defined functions" need to specify the owner. 

Example:
   dbo.sf_function ()

For this reason the variable is required.

Thank you.

Original comment by zluis0@gmail.com on 7 Oct 2009 at 9:22

GoogleCodeExporter commented 8 years ago
not sure this is necessary.
in your case "dbo" will be just a part of the name of the object.
or maybe i don't understand your requirement.

Original comment by daggett....@gmail.com on 8 Oct 2009 at 6:19

GoogleCodeExporter commented 8 years ago
You are right, would be useful only if the user name is used separately.

You are very fast with the modifications. ;)

Thanks for everything

Original comment by zluis0@gmail.com on 8 Oct 2009 at 10:16

GoogleCodeExporter commented 8 years ago

Original comment by daggett....@gmail.com on 10 Oct 2009 at 6:46