I am trying to call a notepad or calculator from a stored procedure. can anyone help?
What database will it be for?
For MySql, you can write UDF (User Defined Function - See http://dev.mysql.com/doc/refman/5.0/en/adding-udf.html ) for this, or use the ready-made UDF repository from the repository. See http://www.mysqludf.org/lib_mysqludf_sys/index.php . See the sys_exec Function, as well as the section labeled “Caution Note”; -)
Microsoft SQL . xp_cmdshell : http://msdn.microsoft.com/en-us/library/aa260689%28SQL.80%29.aspx
xp_cmdshell .
xp_cmdshell
. xp_cmdshell.
There are ways to do this in Oracle PL / SQL. Google: Oracle "External Procedures" or start here:
Oracle External Procedures
As a result, you call SHELL32.DLL and tell it to open Notepad.
Source: https://habr.com/ru/post/1733876/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1733871/hudson-adding-new-e-mail-adress-to-every-project&usg=ALkJrhj7WN341IWwYIq0-9N7b6URTyB7iABest way to support wildcard search in a large dictionary? - dictionaryJava -verbose: gc Эффективные последствия? - javadjango-tinymce: using different options for different instances - pythonJBoss eventually stops responding, but no OOME - jbossEffective comparison of 1 million vectors containing (float, integer) tuples - performanceSimple query throwing SQL syntax error - sqlPackage for quickly determining the similarity between two sequences of bits - performanceWhy do I get different values when reading bytes from NSData depending on the order in which I get the bytes? - objective-cC # Get variable name in string - c #All Articles