29.10.2014 Views

Extracting data from the Synergetic database

Extracting data from the Synergetic database

Extracting data from the Synergetic database

SHOW MORE
SHOW LESS

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

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

Using stored procedures to retrieve <strong>Synergetic</strong> <strong>data</strong><br />

Advanced Microsoft Query and SQL examples<br />

Stored procedures<br />

Stored procedures have been written by <strong>Synergetic</strong> development staff to return <strong>data</strong> based on one or<br />

more defined input parameters to restrict <strong>the</strong> <strong>data</strong> returned. The following stored procedures are<br />

defined:<br />

Stored procedure Description Input parameters Fields updated<br />

crspFutureActivity-<br />

Print<br />

Return <strong>data</strong> based on<br />

certain future student<br />

activities.<br />

Optional:<br />

• Activity<br />

• Campus<br />

• MailedDate<br />

• IgnoreMailFlag*<br />

• Mailed Date<br />

• Mailed By.<br />

See Modifying Activities in<br />

<strong>the</strong> Future students<br />

manual.<br />

• ActivityCreated<br />

By.<br />

crspFutureStatus-<br />

ChangedPrint<br />

Return <strong>data</strong> based on<br />

future student enquiry<br />

or application status<br />

change.<br />

Mandatory:<br />

• MergeCode<br />

Optional:<br />

• Campus<br />

• MergePrinted-<br />

Date<br />

• Printed Date<br />

• Printed By.<br />

See Future Student<br />

Maintenance - History tab<br />

in <strong>the</strong> Future students<br />

manual.<br />

• IgnoreMailFlag*<br />

• StatusChanged-<br />

By.<br />

crspEnquiry-<br />

ProspectusPrint<br />

Return <strong>data</strong> for all<br />

enquiries that have not<br />

had a letter created to<br />

accompany your<br />

organisation's<br />

prospectus.<br />

Optional:<br />

• Campus<br />

• Prospectus-<br />

PrintedDate<br />

• Prospectus Date.<br />

See Enquiry Student<br />

Maintenance - Enquiry tab<br />

in <strong>the</strong> Future students<br />

manual.<br />

Note*: The default value for <strong>the</strong> IgnoreMailFlag parameter is 0 (zero).<br />

Page 6-72 Version 60

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

Saved successfully!

Ooh no, something went wrong!