I am using VB 6 With SQL SERVER 2000. In MS Access i used createQueryDef to create a query. then this query i again used in select statement .
In SQL Server there are functions and stored procedure.which can be called in Vb.One stored procedure can be called in other stored procedure.
But is it possible we can use Stored procedure or Function again in select statement.mean same as we use select statement to select records from table.so that from that we can query the records we need.
With VB i am using ADO for database connectivity.