Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: NULL longtext fields leading to errors #14496
    u3003-04-23
    Member

    In case it helps anyone else, I found a simple workaround, which fixed the problem.

    e.g.

    update v_board_all_notices

    set site = 'n/a'

    where

    length(site) = 0 or

    length(site) = 1 or

    length(site) = 2 or

    site = '' or

    site is null;

    jim

    in reply to: OR statement crashes MySQL #14463
    u3003-04-23
    Member

    Hi Nero,

    thanks for the help.

    It turned out to be due to the parentheses being in the wrong place.

    This works now:

    SELECT v_all.*, v_teacher_main.*, v_def_instruments.*, v_county.*

    FROM v_all, v_teacher_main, v_def_instruments, v_county

    WHERE v_all.pid = v_teacher_main.pid

    AND v_teacher_main.instrumentkey = v_def_instruments.instrumentkey

    AND v_all.pCounty = v_county.countyid

    AND v_all.pCounty = 133

    AND ((v_teacher_main.InstrumentKey= 6) OR (v_all.pCounty = 133 AND v_teacher_main.InstrumentKey= 1))

    ORDER BY pName, countyName limit 0,25

    Thanks

    Jim

    http://www.jimpix.co.uk

    in reply to: Nested INNER JOIN problem #14341
    u3003-04-23
    Member

    I worked it out. code below in case it helps anyone else out:

    v1 from http://forums.devshed.com/showthread.php?s…=&postid=269096

    SELECT v_pdf_info.*, v_pdf_cat.pdfCatTitle, v_pdf_diff.fldDesc

    FROM v_pdf_diff

    INNER JOIN v_pdf_info

    ON v_pdf_diff.fldID = v_pdf_info.pdfdiff

    INNER JOIN v_pdf_Cat

    ON v_pdf_info.pdfCatID = v_pdf_Cat.pdfCatID

    AND pdfID>0;

    v2 from me:

    SELECT v_pdf_info.*, v_pdf_cat.pdfCatTitle, v_pdf_diff.fldDesc

    FROM v_pdf_diff, v_pdf_cat, v_pdf_info

    where

    v_pdf_cat.pdfCatID = v_pdf_info.pdfCatID

    and

    v_pdf_diff.fldID = v_pdf_info.pdfdiff

    and

    pdfID>0;

    jim

    in reply to: Insert problem using '\' #14301
    u3003-04-23
    Member

    Thanks Ritesh, that's great.

    Jim

    in reply to: Delete from multiple tables #14188
    u3003-04-23
    Member

    Hi Ritesh – thanks for the reply. I think I'm not using v 4.0 – I'll download v4.0 and see if that works.

    Thanks

    Jim

Viewing 5 posts - 1 through 5 (of 5 total)