473,385 Members | 1,396 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,385 software developers and data experts.

How i can use "IN CLUASE" with block fields.

Hi everyone

I am facing problem when i want to try select the data from table and i am using
IN CLAUSE but with block fields for e.g

SELECT
<COLUMN NAME>
FROM
<TABLE NAME>
WHERE
--sys_sno in (5,6);
and sys_sno in (:sno);

So please tell me how i can IN CLAUSE in select statement but using BLOCK.FIELD.

Remember one thing " sys_sno " is number fields.
Jul 19 '08 #1
5 1833
debasisdas
8,127 Expert 4TB
are you passing comma separated value through the variable ?
Jul 19 '08 #2
are you passing comma separated value through the variable ?

Yes actually i want to fetch record through listing searching.

for e.g

sys_sno in (1,2,3,4,5) < This is HARD CODE >

but i want to try this

sys_sno in (:sno) ( during Run Time)

User will input on Run Time.
Jul 21 '08 #3
amitpatel66
2,367 Expert 2GB
Yes actually i want to fetch record through listing searching.

for e.g

sys_sno in (1,2,3,4,5) < This is HARD CODE >

but i want to try this

sys_sno in (:sno) ( during Run Time)

User will input on Run Time.
What is the error that it is throwing?
Jul 21 '08 #4
What is the error that it is throwing?
No error throw but DATA NOT FOUND


How i can listing searching through block fields.


plz anyone know so help me...


i m waiting for Your's reply.
Jul 21 '08 #5
amitpatel66
2,367 Expert 2GB
No error throw but DATA NOT FOUND


How i can listing searching through block fields.


plz anyone know so help me...


i m waiting for Your's reply.
A variable cannot be used in that way for IN clause. Check here
Jul 21 '08 #6

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

Similar topics

40
by: aku | last post by:
I'm looking for the absolute fastest way to count the nr of bits that are set to "1" in a string. Presumably I then first need the fastest way to do this in a byte. I think this is it, but...
1
by: tankbattle | last post by:
That is, what's the difference between <complexType name="Address" final="restriction"> <sequence> <element name="name" type="string"/> <element name="street" type="string"/> <element...
4
by: Oliver Block | last post by:
Hi, I have an 'a' element with 'display:block' and 'float: left' followed by a table element within a div; Now I want to force the table to appear in the "next line". That does work without...
25
by: samjnaa | last post by:
Please check for sanity and approve for posting at python-dev. In Visual Basic there is the keyword "with" which allows an object- name to be declared as governing the following statements. For...
5
by: Nathan Sokalski | last post by:
I have an ASP.NET application which is giving the following JavaScript error: 'theForm' is undefined However, when I do a View Source one of the <scriptelements is as follows: <script...
9
by: Robbie Hatley | last post by:
Greetings, group. I just found a weird problem in a program where a variable declared in a {block} after a "case" keyword was being treated as having value 0 even though its actual value should...
0
NeoPa
by: NeoPa | last post by:
Intention : To prepare a WHERE clause for multiple field selection, but to ignore any fields where the selection criteria are not set. ONLY WORKS WITH TEXT FIELD SELECTIONS. Scenario : You have...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
1
by: veer | last post by:
Hi i am using the follwoing code to access the data from one mdb table into other untill the field indnt =0 ot D it works fine but when empty field ("INDNT") it show the error "Operator '=' is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.