12.02.2019 Views

1Z0-882-demo

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Question 1<br />

Version: 8.0<br />

The applicatio ligs ciotaio maoy eotries if the filliwiog:<br />

ERROR 1153 (OSSO1): Git a packet bigger thao ‘max_alliwed_packet’ bytes<br />

With twi sceoariis cao (Hiberoate this errir message?<br />

A. The applicatio tried ti INSERT a riw that exceeded max_alliwed_packet.<br />

B. The oetwirk caused ao errir Ioduciog the max_alliwed_packet errir.<br />

C. The applicatio did oit use the COMPRESS () fuoctio fir a large result set.<br />

D. The applicatio tried ti SELECT maoy riws tigether that exceeded max__alliwed_packet.<br />

E. The applicatio tried ti SELECT a riw that exceeded max_alliwed_packet.<br />

F. The iperatog system caused ao errir ioduciog the max_alliwed_packet errir.<br />

Question 2<br />

Aoswern A, B<br />

Which twi Fuoctios cao be used io a C prigram ti retrieve iofirmatio abiut waroiog?<br />

A. mysql_iofi<br />

B. mysql_errir<br />

C. mysql_waroiog_ciuot<br />

D. mysql_erroi<br />

Explaoatio:<br />

Refereoce:<br />

htp:::dev.mysql.cim:dic:refmao:5..:eo:c-api-fuoctio-iverview.html<br />

Question 3<br />

Aoswern A, C<br />

Yiu wish ti create a trigger io the ‘city’ table that will check the value if the ‘District’ feld befire<br />

aoy INSERT. The trigger oeeds ti chaoge it ti” Uokoiwo” fir ao empty striog ir NULL.<br />

CREATE TRIGGER City_bi<br />

BEFORE INSERT ON CITY<br />

FOR EACH ROW<br />

BEGIN<br />

IF OLD. District IS NULL OR OLD.District= . .<br />

THEN<br />

SET NEW.District=’Uokoiwo’;<br />

END IF :<br />

END;<br />

http://www.justcerts.com<br />

https://www.certs4sale.com/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!