I want to use the following SQL statements in a VB.NET application:
select * from information_schema.parameters where specific_name='GetTaskEvents' SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME= 'GetTaskEvents'
Today I talked with the database administrator, and he seemed invisible, but did not give a reason. Is this a bad practice?
I want to do something like this
public sub Delete() 'loop around about ten databases 'Call the delete function in each of the databases (check that the stored procedure exists first) 'Each database has different output parameters. Deal with them differently eg if there is an email parameter, then email the person to say the record was deleted. End Sub
The reason for this is that I can process each database in the same way.
source share