BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'chain_job_1',
job_type => 'CHAIN',
job_action => 'my_chain1',
repeat_interval => 'freq=daily;byhour=13;byminute=0;bysecond=0',
enabled => TRUE);
END;
/
=DATEDIF(DATE(RIGHT(D1;4);MID(D1;3;2);LEFT(D1;2));DATE(RIGHT(A1;4);MID(A1;3;2);LEFT(A1;2));"Y")
1. Copy/Paste the information below to the clipboard
2. Open the spreadsheet whose sheets need to be alphabetised
3. Choose Tools > Script editor > Blank (this opens a new tab in the browser)
4. Press Control+A followed by Control+V copy and paste the script in
5. Press Control+S to save the script
6. Choose Run > sortSheets
7. Go back to the spreadsheet tab to view the new sorted tab order
--Copy everything below this line--
function sortSheets () {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheetNameArray = [];
var sheets = ss.getSheets();
for (var i = 0; i < sheets.length; i++) {
sheetNameArray.push(sheets[i].getName());
}
sheetNameArray.sort();
for( var j = 0; j < sheets.length; j++ ) {
ss.setActiveSheet(ss.getSheetByName(sheetNameArray[j]));
ss.moveActiveSheet(j + 1);
}
}
SELECT * FROM FamilyMembers
WHERE member_name LIKE '% Quincey'
ORDER BY status, member_name;
=TRANSPOSE(split(rept(join(";";AG:AG)&";";3);";"))
=ABS(I1-LEFT(VALUE(TEXT(A1;"DD"));1)*2)
select t1.*, t2.*
from modx_site_content t1
left join modx_ms2_products t2 on t2.id = t1.id
where t1.id = 541
=IF($N$1+$G$1>9;1+3)
==IF(($N$1+$G$1)<10;$N$1+$G$1;(MID($N$1+$G$1;1;1)+MID($N$1+$G$1;2;1)))