Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

query to select values that doesnt have "."

Hello,

I am having a field with values such as xxx.xxxx
                                                        xxx.xxxx
                                                        xxxx
                                                        xxxx


so i want to write a query that take only those values that doesnt have "."

could anyone help me in writing this query.

thanks
0
vihar123
Asked:
vihar123
1 Solution
 
DhaestCommented:
What database are you using ?

In Access: select * from YourTable where instr(YourField,".")=0
0
 
jayakulCommented:
For MS SQL Server

Select * From TableName
Where CharIndex('.', Field) = 0

Jayakul
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now