Viewing 2 posts - 1 through 2 (of 2 total)
Use following
DELETE ord
FROM Orders ord
INNER JOIN Customers c(nolock)
ON ord.CustomerID = c.CustomerID
WHERE c.FirstName = 'vikash'
regards,
blog.learnonlinewithme.com
October 8, 2010 at 3:23 pm
I am also getting the same error:
Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
...
April 13, 2005 at 3:50 am
Viewing 2 posts - 1 through 2 (of 2 total)