Hi,
Please help me with this. I want to access the @@Error variable of SQL Server in Visual Basic. How can i do this ?
My Stored Procedure is as follows :
Create procedure stp_Test
@Link int,
@ErrorNo int Output
AS
Select * from datSurvey where Link = @Link
If @@Eorr <> 0
Set @ErrorNo =...
Hi Zemp,
Thanks for the reply. I have posted my code for your reference.
Private Sub subStartServer(ByVal strServer As String, ByVal strDBOName as String, _
ByVal strDBOPWD As String)
Dim objSQLDMO As New SQLDMO.SQLServer
On Error GoTo ErrorHandler
If...
Hi,
I have SQLServer2000 installed on a machine and i'm using it as a server. In the client machine i'm using SQLDMo to start the SQLServer service. When i use the start method i get an error 'Access Denied'. But when i run the same code in the server machine, it works fine. Can someone tell...
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.