What?
An article on how to declare an XML element as NULL using the attribute "xsi:nil". I'm going to use a very short example by providing a blank date of birth value:
-- What I have:
//
-- ...
Applies to:
Microsoft Windows 7 Enterprise
SITS:Vision Students (v8.7.0)
What?
You might be able to work it out from the online manuals but it took me a while, we wanted to bring back both the ...
What?
Trying to export a STU record but I want to use the XET template I created rather than the pre-installed XML export formats. When I try to export using data format XET, the system has never heard ...
... pretend the info we want is rather simple:
SELECT
[sequenceID],
[student_reference],
[student_title_code],
[student_name],
[student_gender_code],
...
...
Looping
-- From resultset of $i ,assigning it to variable $j using let clause,
-- Getting top two employees by using where & order by clause.
SELECT Event_XML.query('for $i in /STAFF/student
let ...
... I am pretending to select rows from a table called `STUDENTS`.
Oracle PL/SQL
Looking for abnormal data, note the circumflex to exclude the clean alphanumeric rows:
SELECT * FROM STUDENTS WHERE ...
... s, ssf, sst
FROM `Session` s
LEFT OUTER JOIN `SessionStaff` ssf ON ssf.sessionId=s.sessionId
LEFT OUTER JOIN `SessionStudent` sst ON sst.sessionId=s.sessionId
WHERE s.dateTime >= '2013-02-01 00:00:00'
-- ...
... these.
I would recommend using the DataTumble script over this one as this leaves data very difficult to work with:
Before:
StudentID StudentName DateOfBirth
...
What?
We have a specific timetabling system for academic institutions and all our staff/students follow academic week numbers as opposed to calendar week numbers.
Why?
The aim of this article ...
... spaces are not obvious in the results, the Value may look the same but if you get your search result twice, this may be why.
Performance Average
- Run against a database of circa 30'000 students ...
... the default values which we found we could do with the built-in SOUNDEX function.
How?
Lets assume the following, we have a table containing:
StudentID StudentDetail Soundex
----------------- ...
What?
This article describes a function that will return random data based on a given value. The function intends to determine the data type and return data that is absolutely irrelevant to the original ...
Why?
We have a stored procedure which contains two select queries. The first query will retrieve a student ID number where the input parameter is the student's username. The second query will return ...
... Example:
My stored procedure will do the following:
Get a student ID number based on the student username
Get a student's names and date-of-birth based on the student ID number
Agenda Outline
Note: ...
... capability to run standard PL/SQL commands... unless they're run from within a stored procedure. Our aim is to run a small query first to return the ID of the student, and then to use this number in a ...
... I need to submit an Active Directory (AD) username and receive a student ID number instead, all with the aim to improve performance on some SSRS queries which accept either an ID number or an AD name as ...
What?
We have a report in SQL Server Reporting Services 2008 R2 (SSRS) reading from an Oracle 10g database which works great and lists all the details on a specific student. An additional request is ...
... does not exist
We don't have photos for all ~20000 students at all times and these get updated/uploaded/added to about once a week. In cases where there are no photos, SSRS displays a mini ugly red cross. ...
... Stored Procedure updates a field in one of our Oracle tables and returns nothing. It accepts 3 parameters: The StudentID (reference) varchar2, Username (who's running the report) varchar2 and a JobID ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.