Computers & Internet Logo

Related Topics:

Posted on Jan 25, 2008

Query for retrieve the data

Hi,

i have cereated a table and inserted into values for carddetails.

e.g. cardnumber=1234567891234567

now i have a problem here is

when i enter only 6 digits from the above cardnumber i have to retrieve the data


  • ambica Jan 25, 2008

    thanks for trying



    but i didn't get the correct answer



    from the above post i have to retrieve the data by entering the first 6 digits only



    so please help me for this query

    it's very urgent for me

×

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

  • Contributor 35 Answers
  • Posted on Feb 02, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

Joined: Dec 12, 2007
Answers
35
Questions
0
Helped
83230
Points
89

So, are you looking for the query statement to get this info...

And, upon entering the 6th digit, your code will execute the sql query, such as:
SELECT cardnumber from <table_name> where cardnumber>='123456'

NOTE: replace <table_name> with the name of your table.

You might have to modify the statement depending upon how your calling it.

Check out more info at http://www.w3schools.com/sql/sql_where.asp

Hope this helps.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

101 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

ADMIN Andrew
ADMIN Andrew

Level 3 Expert

73781 Answers

ADMIN Eric
ADMIN Eric

Level 3 Expert

42221 Answers

Brad Brown

Level 3 Expert

19190 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...