I keep getting this error when i try to execute a sp from my asp page.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][SQL Server]The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
I can run the stored procedure in...
It works great.
sunila7 thank you so much for your help and hneal98 you too. You just saved me from having to work through the weekend on this project. THANKS
thanks for your help but I am getting a syntax error
by the second group by that i cant figure out. any idea why? I will play with your idea for a while longer to see if i can make it work for me.
the union duplicates the Level2ID and Level2Name and I can't use the query this way. can any one help me out, PLEASE? the code is posted below.
SELECT distinct Level2ID, Level2Name, count(Level3Name)as TOTAL_SUBS, '' as TOTAL_COMPANIES
FROM tbl_Prod_Categories
WHERE level2name in (Select...
the union duplicates the Level2ID and Level2Name and I can't use the query this way. can any one help me out, PLEASE? the code is posted below.
SELECT distinct Level2ID, Level2Name, count(Level3Name)as TOTAL_SUBS, '' as TOTAL_COMPANIES
FROM tbl_Prod_Categories
WHERE level2name in (Select...
So if I understand you, The stored procedure runs and returns a value that you want to use in a select into statement??
have you tried something like
'call the procedure
EXEC MyNewID @TableName = 'Account'
'then use the return value in the select or insert into
where 'Account' is the return...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.