I am having a problem with a query, and because it is Monday morning i don't think my Brain is quite working properly yet, so maybe some one can help me out ?
I have a table in which i have 2 Columns (see below)
Start No / End No
__________________
1! 200 ! 300
2! 400 ! 500
3! 600...
I have a query where i need to Update the Top 50 records of a resultset. The way i figured to do this was, Select the Top 50 of the records i want into a temporary table, and then update from the table.
The problem with this is that i need to Order the 50 by Date, so i am getting the 50 oldest...
I feel that i should know how to do this but the ways i have tried don't work;
SELECT linkref
FROM Derivedaddresses
WHERE right(linkref,1) IS NUMERIC
SELECT linkref
FROM Derivedaddresses
WHERE ISNUMERIC(right(linkref,1))
linkref is a varchar field, and has both Alpha ~& numeric...
Hi, I have an Address Field in a table, that is a bit of a mess, and I am trying to clean it up.
The first step I would like to do is to remove all the Double spaces for the records in this column, and by this I mean, reducing any double space to a single space!
Joe Bloggs --> would become...
I had a problem query (taking to long to execute) that uses the Like operator, and have found that when i copied all my existing tables into a new database & Ran the Index Tuning Wizard, this solved my speed issue with my query.
My problem is, running the index tuning wizard on my original...
I have a (like)query that was taking 6 seconds to run, so after valuable assistance from members of this forum, i tried copying the whole database (tables & et all) onto another server.
Doing this, and then using the Index Tuning Wizard reduced the time of my query down to 1 second.
When i...
I have a query (stored proc) that uses a LIKE statement on a Varchar column and it takes 6 seconds to run. As this is returning a results set to an application, this performance is unnacceptable.
Query :
SELECT m.m_mat_id, m.m_clt_code, m.m_mat_num, m.m_clt_name,
m_mat_desc, t.at_desc...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.