Find Jobs
Hire Freelancers

access sql select

$7-12 USD

Closed
Posted over 16 years ago

$7-12 USD

Paid on delivery
I have a access database There are two tables businesses and deals. shops have deals. (one or more) Valid deals are deals that have not expired, AND couponcount < usedcoupons AND are use a valid postcode/zipcode. I require someone to code the expired component of the SQL command. Businesses [shopid], [shopname], [postcode], [phone] ...... Deals [dealid], [dealtext], shopid], [startdate]. [enddate] note: startdate and enddate are datetime data types. Exisitng Code, ASP.NET C# if (category == "all") [login to view URL] = "SELECT shopname, logo, offers, shopid FROM businesses WHERE (activecampaign = '1') AND ((postcode LIKE '" + Session["postcodesensitivity"].ToString() + "') OR (postcode = '0')) ORDER BY ABS(CInt(postcode) - CInt(" + Session["TargetPostcode"].ToString() + "))"; else [login to view URL] = "SELECT shopname, logo, offers, shopid FROM businesses WHERE (catogry = '" + [login to view URL]() + "') AND (activecampaign = '1') AND ((postcode LIKE '" + Session["postcodesensitivity"].ToString() + "') OR (postcode = '0')) ORDER BY ABS(CInt(postcode) - CInt(" + Session["TargetPostcode"].ToString() + "))"; i require someone to edit the existing command to not display a shop record if there are no deals that have not expired. (there exists a deal that the current date is within startdate and enddate) I need this command ASAP. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform ASP.NET 2.0 C# SQL MS ACCESS
Project ID: 3163455

About the project

8 proposals
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
8 freelancers are bidding on average $8 USD for this job
User Avatar
See private message.
$7.65 USD in 1 day
5.0 (295 reviews)
8.0
8.0
User Avatar
See private message.
$10.20 USD in 1 day
4.8 (188 reviews)
6.9
6.9
User Avatar
See private message.
$10.20 USD in 1 day
4.9 (117 reviews)
6.7
6.7
User Avatar
See private message.
$4.25 USD in 1 day
4.9 (46 reviews)
4.9
4.9
User Avatar
See private message.
$10.20 USD in 1 day
4.9 (35 reviews)
4.5
4.5
User Avatar
See private message.
$10.20 USD in 1 day
4.8 (4 reviews)
3.4
3.4
User Avatar
See private message.
$5.95 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
4.9
15
Member since May 12, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.