Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
php9lFc9b

php9lFc9b

Ratings: (0)|Views: 209 |Likes:

More info:

Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

03/17/2013

pdf

text

original

 
Oracle 10g Express Edition can be downloaded from:http://www.oracle.com/technetwork/database/express-edition/overview/index.htmlTodays Topics=============(should be mostly review)Data Typesvarchar2(size) / varchar(size):varchar2 and varchar are synonyms in Oracle. Usage is similar toMySQL*** What kind of data does varchar2 store?*** How do you explicitly specify that the size is in bytes?*** How do you explicitly specify that the size is in characters?char(size)Usage is similar to MySQL*** How do you explicitly specify that the size is in bytes?*** How do you explicitly specify that the size is in characters?*** What is the difference between char and varchar2?*** When would you choose char over varchar2 or vice versa?number(precision, scale)Same usage as MySQL*** What kind of data does number store?*** What does precision specify?*** What does scale specify?integer*** This is a synonym for a number of what precision?float(precision)*** What kind of data does float store?*** What is the difference between number precision and float precision?date*** What kind of data does date store?*** What range of dates can be stored?*** What is one way to express a date?timestamp(precision)*** What kind of value does timestamp store?*** What does specifying precision do?*** How do you specify a timezone?*** How does specifying a timezone affect the data stored?interval year(precision) to monthinterval day(precision) to second(precision)*** What are these types useful for?*** What is one way to express an interval?raw*** What type of data does this type store?blobclob*** What do blob and clob stand for?*** What would you use either type for?Manipulating Datastrings*** What are two ways of expressing a raw string?*** What are two ways of concatenating strings?*** How do you convert data from one character set to another?*** How can you determine the character set of a string?
 
*** How can you determine the length of a string?*** How can you convert a date type or number to a string?*** How can you convert a string to a date?*** How can you convert strings to intervals (year to day, or day to seconds)?conditionals (returning values, not necessarily true/false)*** What is one way to express an if-then-else type of expression?*** How many comparisons can you do in a case statement?*** Describe how coalesce functions.*** Describe how nullif functions.math*** List the operators for division, multiplication, addition, and subtraction.*** Describe the math functions that act as a summary to selectstatements(e.g. count(expr))date arithmetic*** Describe how to get the independent time and date parts of adate type.*** Describe how to add or subtract arbitrary intervals from a date type.*** Describe how to convert an arbitrary date to UTC.Where Conditionalsnull*** How do you test if a field is null or not null in a where clause?conditionals (true/false)*** What are three ways to test for inequality using a single operator?*** Describe how 'any', 'some', and 'all' operators work.*** Describe how the 'in' and 'not in' operators work compared to the any operator.*** Describe how the 'between' operator works.like*** Describe how to specify a wildcard single characterin a 'like' statement.*** Describe how to specify a wildcard string of characters in a 'like' statement.*** How do you escape a % or _ in a like statement?*** How do you escape an escape in a like statement?Query Result Set Operations*** How would you create one resultset from two select queries:a. containing all rows from both queries?b. containing all distinct rows existing in either query?c. containing all rows existing in both queries?d. containing all rows existing in one query, but not the other?Next Topics===========Table structureprimary keysforeign keysreferential integrityconstraintsindexes

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->