Hello folks,
I have the following substring statement I am using but I want to filter by my substring, can anyone help
if i try this it fails with parsing errors
thanks!
I have the following substring statement I am using but I want to filter by my substring, can anyone help
Code:
SELECT last_name, SUBSTRING(alternate_identifier, 5, 2) AS Contractor FROM ca_contact WHERE (contact_type = 2308) AND (inactive <> 1)
if i try this it fails with parsing errors
Code:
SELECT last_name, SUBSTRING(alternate_identifier, 5, 2) AS Contractor FROM ca_contact WHERE (contact_type = 2308) AND (inactive <> 1) AND (Contractor = 'DC')
Comment