Hi
Is there any way to get the highest number in a row. If it was in a column I could just use max but how can I find out what the largest number for a record is across several columns.
Any ideas kind people?
Andy
Hi,
I've got me a database where the developers included a total hours column as a varchar format. Specifically it's of the form: hours colon minutes e.g. 8:30
I need to add up these hours and so after a lot of messing around a searching this forum I found this method...
Hi
I have a list of people and events they engaged in together with the date and location of the event. These range from one off events to a series of related events (of between a handfull and several hunderd individual dates) but in all cases the reference numbers are unique and there is...
Hi, I'm trying to pull out some data including some free text notes that people have typed in a notes field.
Because it's free there's all kinds of rubbish in there including carriage returns and tabs. This is then a problem for me if I ever need to import this data in to Excel because the...
Hi,
I have some gloriously unweildy sql (below) and what I'd like to do is not group it by some of the items it is grouped by. I'd like to have the aggregates of
LEFT(qlup.description, Charindex (' ',qlup.description) - 1)
only. How would I go about not having to group by...
Hi,
I have a table of bookings with a person ID and all the details of the booking. I'm trying to find, for each ID what the most common booking type is, the modal booking type. I'd like this both for the information itself and to use as the criteria in other queries.
Ideally (for my little...
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.