Hello,
I am very new to VB.Net and ADO and am trying to write an SQL select statement with joins. However, the syntax that i am using is not correct.
This is what i require:
"SELECT GKLS_Software.Application, Software_Type.SoftwareType, Vendors.Vendor, GKLS_Software.ProductKey
FROM GKLS_Software, Vendors, Software_type
INNER JOIN Software_Type ON Software_Type.SoftwareTypeID= GKLS_Software.SoftwareTypeID
INNER JOIN Vendors ON Vendors.VendorID=GKLS_Software.VendorsID
ORDER BY GKLS_Software.Application"
Can anyone please help me to transform this into the correct Oledbcommand syntax for my vb code.
Also can someone give me a few pointers on the syntax for writing future sql queries in vb.net using oledbcommand?
Help much appreciated!!!
I am very new to VB.Net and ADO and am trying to write an SQL select statement with joins. However, the syntax that i am using is not correct.
This is what i require:
"SELECT GKLS_Software.Application, Software_Type.SoftwareType, Vendors.Vendor, GKLS_Software.ProductKey
FROM GKLS_Software, Vendors, Software_type
INNER JOIN Software_Type ON Software_Type.SoftwareTypeID= GKLS_Software.SoftwareTypeID
INNER JOIN Vendors ON Vendors.VendorID=GKLS_Software.VendorsID
ORDER BY GKLS_Software.Application"
Can anyone please help me to transform this into the correct Oledbcommand syntax for my vb code.
Also can someone give me a few pointers on the syntax for writing future sql queries in vb.net using oledbcommand?
Help much appreciated!!!