Microsoft
Software
Hardware
Network
Question : Need to query if a field starts with "+1"
Using C# and Access, I need to write extend my query to validate that a text field starts with "+1"
Curently here's the query. lastMessageId is an int value.
sql = "SELECT * FROM messages WHERE message_id > " + lastMessageId.ToString();
I need to learn the syntax for this validation. The field with the strings is called "frm"
in C# I'd say where frm.StartsWith("+1");
But I tell you this so you will understand what I am tryig to accomplish with SQL.
Thanks,
newbieweb
Answer : Need to query if a field starts with "+1"
sql = "SELECT * FROM messages WHERE message_id > " + lastMessageId.ToString() + " AND frm LIKE '+1%'";
Random Solutions
Can outlook 2003 email be imported to windows 7 through mitec ?
Refer to Control on Main Form
The recipient's mailbox is full and can't accept messages now.
Fixed Vertical Position of Text/Paragraph
Need way to alternate some sort of shading between records each time month changes on a Continous Form
what process to kill in order to delete the temporary ASP.NET Files ?
Embedding an MSI inside the Setup.exe in Visual Studio
MS ACCESS SQL QUERY - Export Access Query Results to Excel Worksheet
I only want one record from my left join call
format date in text box control