473,410 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Query Operators

I'm new to this forum and was interested in finding a pretty comprehensive list of operators used in searching databases. I've been working with Siebel for a while, but haven't ever seen any documentation with any of the different companies as to all the queries that work within the application. It does use an SQL db engine I believe, but I wasn't sure where this post should go.

Any advice or direction on operators even other applications would be appreciated. I'm looking really for any operator that allows for searching by date. I know of the TODAY operator, but would like to know if there are any more date-based ones.

Thanks!
Aug 22 '06 #1
3 3076
ronverdonk
4,258 Expert 4TB
Do you want to search for text (any) in your tables or do you want to search specific columns, such as date/time or blobs?

Ronald :cool:
Aug 29 '06 #2
Thanks for the reply. I would like to be able to search, text, number and date fields. An inclusive list is what I have been looking for, but unable to find.

Thanks in advance for any information.
Aug 29 '06 #3
ronverdonk
4,258 Expert 4TB
Maybe I did not pose the question in the right way. What I wanted to say was what kind of queries are you looking for? There are (my distinction) 2 kinds of queries:

looking for a specific value in specific column or columns, such as you would specify in e.g.
Expand|Select|Wrap|Line Numbers
  1. SELECT start_date, end_date FROM holidays 
  2. WHERE start_date='2006-10-20' 
  3. AND end_date < '2006-11-01'
or you can search the database for the occurrence of a piece of data over a whole row with an expression, such as searching for the occurence of the string 'janitor' in a table 'jobs'. Such as:
Expand|Select|Wrap|Line Numbers
  1.         SELECT code, function, description, announcement
  2.         FROM jobs 
  3.         WHERE function REGEXP '$search_word'
  4.         OR description REGEXP '$search_word'
  5.         OR announcement REGEXP '$search_word'
  6.         ORDER BY code
I hope I made myself clearer now.

Ronald :cool:
Aug 30 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Steven D.Arnold | last post by:
I have a query which does not use column indexes that it should use. I have discovered some interesting behaviors of Postgres which may indicate a bug in the database's query planning. Take a...
0
by: plato | last post by:
I'm an end user of a siebel program and i want to get some info on questions relating to queries within the program. Who or where can I get some answers beyond basic query operators? Maybe I...
4
by: Bradford Chamberlain | last post by:
I've been curious for awhile about why C supports some of its binary operators in an op= format, but not others. For example, why are &= and |= supported by C, but not &&= and ||=? For awhile I...
9
by: VenuGopal | last post by:
Hi, why n++ executes faster than n+1..... or does it realli execute faster? thanks Venugopal.B
7
by: rguarnieri | last post by:
Hi! I'm trying to create a query with a boolean expression like this: select (4 and 1) as Value from Table1 this query return always -1, but when I make the same calculation in visual...
10
by: sesling | last post by:
I have created a query that will pull information from our database for the operators. This query will pull in on average 50,000 records. The operators need to refine the search results. I have...
2
by: Mark Roughton | last post by:
I have a form where the users need to view records for various criteria, one of which is a date field on which they may wish to view all related data for the selected date, for all dates upto and...
2
by: Luke.Schollmeyer | last post by:
I found an unusual problem between 2000 and 2005 I haven't been able to decipher from any documentation. The query structure is as follows: select * from tableA a join tableB b ON...
7
by: DanHayden | last post by:
Hi guys, I have a form with an unbound textbox. It provides the parameter for a number field in a query. I'd like for the user to be able to enter their own operators (">2" for example) and this...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.