R
Richard Everett
I have a table in SQL server containing records that are uniquely
identified using a three character alphanumeric code.
Codes are either all letters (eg ABC) or all numeric (eg 123)
I need to obtain only the records whose three character code is all
letters.
In SQL I can achieve this using:
SELECT
identified using a three character alphanumeric code.
Codes are either all letters (eg ABC) or all numeric (eg 123)
I need to obtain only the records whose three character code is all
letters.
In SQL I can achieve this using:
SELECT
Code:
-- and other fields
FROM [dbo].[TableName]
where [Code] > '999'
How can I do this using LINQ to SQL?
I've already tried writing a custom C# function that checks to see if
the code can be parsed as an integer, but that won't translater to SQL
(which is understandable).