Microsoft
Software
Hardware
Network
Question : SQL Convert Error
I am using Visual Studio 2008
I am having problems with the SQL query for my datasource.
This the query in question:
SELECT inc.Title AS Incident, inc.Description, inc.CustomerID, tech.Name AS TechName, prod.Name AS Product, cust.Name AS Customer, CONVERT([varchar](11), inc.DateOpened, 101) AS DateOpened, CONVERT([varchar](11), inc.DateClosed, 101) AS DateClosed
FROM (((Incidents inc INNER JOIN
Technicians tech ON inc.TechID = tech.TechID) INNER JOIN
Products prod ON inc.ProductCode = prod.ProductCode) INNER JOIN
Customers cust ON inc.CustomerID = cust.CustomerID)
Error I receive:
Error Source: Microsoft JET Database Engine
Error Message: Undefined function 'CONVERT' in expression
I am using the same database that I use in SMSS and the query works fine.
Answer : SQL Convert Error
Typically no problem, most installers you will have to choose a custom or advanced install to change to a non default destination
Random Solutions
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
IPv4 vs IPv6
Raid 1 mirror Bad block discovered
Unix Perl or Shell script to split a data file by header+trailer
Proliant ML110 G4 Lost RAID and Randomly gives Error 0251
Delete blank line from textarea
Current Logged In User
average value of a function
Shell script to queue commands
Cisco ASA Logging Connections Increase