Find Jobs
Hire Freelancers

MS SQL Query optimizing

$30-100 USD

In Progress
Posted over 16 years ago

$30-100 USD

Paid on delivery
Hi I’m looking for an MS SQL Expert to help us with the following SQL Query. The query is very slow due to the two subselects. Can you optimized the query to perform better. CREATE VIEW V_DEVICE_CAPABILITY_FALLBACK_VENDOR_MODEL AS SELECT ( SELECT TOP 1 DEVICE_VENDOR FROM V_DEVICE_CAPABILITY_FALLBACK a WHERE [login to view URL] = [login to view URL] AND a.DEVICE_VENDOR IS NOT NULL ORDER BY [login to view URL] ASC ) AS DEVICE_VENDOR_FALLBACK, ( SELECT TOP 1 DEVICE_MODEL FROM V_DEVICE_CAPABILITY_FALLBACK b WHERE [login to view URL] = [login to view URL] AND b.DEVICE_MODEL IS NOT NULL ORDER BY [login to view URL] ASC ) AS DEVICE_MODEL_FALLBACK, c.* FROM DEVICE_CAPABILITY c Please let me know if you can help me.
Project ID: 170659

About the project

2 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
2 freelancers are bidding on average $30 USD for this job
User Avatar
Hi, I can help you with this query.. Kind regards.
$30 USD in 1 day
5.0 (2 reviews)
3.0
3.0
User Avatar
I have worked on this sort of queries before and I can provide a solution. For more info, please see PMB.
$30 USD in 0 day
5.0 (2 reviews)
2.0
2.0

About the client

Flag of DENMARK
Copenhagen, Denmark
5.0
5
Member since Dec 7, 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.