WHERE Statement Questions and Answers

Recent IT Questions

1 - 11 of 11
<<PREVIOUS 1 NEXT>>

Calculating prior Query fields

Inside my query, is four listed fields; date, printer, and a Start and End meter for daily meter readings to keep track of printer impressions. I'm trying to receive a return value by subtracting a meter reading from the START field in a current row and the END meter in the previous row depending...

View Answer   |  May 12 2009  4:24 AM GMT
DLookup, WHERE statement, Query optimization
asked by Bostic87

  20 pts.

DoCmd.OpenReport not working right with WHERE clause

I have looked all over and seen hundreds of questions about this command, but no answers. It seems like the most basic thing you can do with combo boxes, so I'm baffled that it doesn't work. Here is my VBA Code: Option Compare Database Private Sub cboFundNumbers_AfterUpdate() Const...

View Answer   |  Apr 1 2009  10:20 PM GMT
Access 2003, VBA, DoCmd.OpenReport
asked by Pubfin

  15 pts.

How to find a specific word in a SQL table

How do you write a SQL query to find a specific word in a sql column. ex I want to show all records that have the word bob in it but do not want to include records that are bobby or bobble etc only the exact word bob. Hope that makes sense

View Answer   |  Jan 29 2009  3:13 AM GMT
SQL Query, SELECT statement, WHERE statement
asked by Boomer1

  5 pts.

Query won't access open form field for parameter

I want to open a group of receipt forms using the "client ID" from the open form "Client" as the parameter. I created a button which runs the "openform" action macro using "[Client ID]=[Forms]![Client]![ID]" as the Where Condition. This was working until I closed the access program and reopened...

View Answer   |  Jan 15 2009  9:13 PM GMT
WHERE statement, Database programming
asked by Bbenson

  5 pts.

Using the SQL IN clause in SQLRPGLE

Can I use a variable with the IN clause in an iSeries SQLRPGLE program? Can I use: WHERE CUSTID IN(:CUSTNUMS) Instead of: WHERE CUSTID IN(145,1600,352)

View Answer   |  Dec 18 2008  10:09 PM GMT
iSeries, iSeries development, SQLRPGLE
asked by PWMASI

  5 pts.

oraoledb non working WHERE clause character comparison

Are there WHERE clause character comparisons that do not work when using oraoledb? I have a SQL query that is well formed and works with both Oracle 9 and Oracle 10g client, but will not execute when parsed via oraoledb.

View Answer   |  Dec 10 2008  1:47 PM GMT
Oracle 9i, Oracle 10g, SUBSTR
asked by Jsl25

  5 pts.

SQL SERVEUR 2005 SISS AND WHERE statement

I create a SSIS to transfer the date from AS/400 TO SQL Server 2005, and it's work fine. when I go to modify it and I add a where statement to choose only the year 2008, I received the following error code 0x80131937

Answer Question   |  Dec 5 2008  5:24 PM GMT
SQL error messages, SSIS, SQL 2005
asked by Sqlbeg

  5 pts.

How can I join 3 tables using JOIN keyword

Hi Experts, Pls hlp me with my query How can i join 3 tables using JOIN Keyword inside PL/SQL block in SELECT ... WHERE clause Query 3 Tables namely Reg,ROOTS,ME and the select statement takes both parameter variable and local variable Thanks!!!!!

View Answer   |  Dec 4 2008  6:20 AM GMT
SQL, PL/SQL, SELECT statement
asked by Inprise

  530 pts.

.NET Question

In Window Application of C#, I want to generate crystal report with cases by using where clause and datagridview...? How it is Possible...?

Answer Question   |  Nov 29 2008  12:25 AM GMT
Crystal Reports, .NET development, C#
asked by GuroooGyan

  5 pts.

SQL select

SELECT obj.object_type FROM apps.opt_log_issue log, discov.opt_changed_database_objects obj WHERE --(UPPER(log.resolution(+)) like '%'||obj.object_name||'%' -- and trunc(log.resolution_date(+)) - trunc(to_date(substr(obj.last_ddl_time,1,11),'dd-mon-yy')) <=5 -- and...

View Answer   |  Nov 28 2008  11:09 PM GMT
Oracle development, Oracle SQL, SELECT statement
asked by QAQA

  65 pts.

Ignoring fields in SQL Where Statement

Can fields in a where statment be ingnored. Such as Where name = :name and date = :date, but if I just pass in a name I'd like the where to select only on the name and ignore the date.

View Answer   |  Oct 31 2008  8:13 PM GMT
SQL, SQL/400, WHERE statement
asked by Charrdzc

  5 pts.

1 - 11 of 11
<<PREVIOUS 1 NEXT>>