A list of data types appears at the bottom of this document. String datetimestamp = new java.sql.timestamp(system.currenttimemillis()).

Size: px
Start display at page:

Download "A list of data types appears at the bottom of this document. String datetimestamp = new java.sql.timestamp(system.currenttimemillis())."

Transcription

1 Data Types Introduction A data type is category of data in computer programming. There are many types so are clustered into four broad categories (numeric, alphanumeric (characters and strings), dates, and boolean (logical true/false)). Within those categories the differences between the data types are extremely important because the choice of data type dictates what can be done with the data. Data types are used when declaring variables, defining XML schema and RDBMS fields. A variable is a kind of container to hold a value. Example: String username = "Smith" means a variable username is a String data type and has been assigned (=) a value of the sequence of characters S m i t h. A list of data types appears at the bottom of this document. When creating a relational database management system (RDBMS) database and defining the tables in the DB, or when creating XML Schema, the creator must know what data to gather, how they ll be manipulated and presented to users, and, to make this all possible, know how the data should be stored by the computer, in other words, the data type. For example, a person s name consists of a first name, a middle initial, and a last name, "Suky A. Cat." A street address usually has the street number, street name, and possibly an apartment number, e.g., 8 Newton Street. The parts of the name and the address should be stored as the "String" data type; think of a "String" as a continuous sequence of alphanumerics. [Note that even if the data look like a number, say a telephone number, Social Security number, or street number, store them as Strings. The only time numbers are saved as numbers is if there is going to be calculations performed on them, for example "hours worked" or "pay rate".] Dates The Date type conforms to an ISO standard for storing date information in this form: YYYY-MM-DD, or year, month, and day, is Christmas Day, December 12, The storage of data (internal representation) can be different from the users view of the data (external representation). Even though we store data as YYYY-MM-DD we can convert the data by the computer program or script before displaying it to the user. The date type is extremely useful and commonly found: JavaScript, Java, MySQL, php - every programming and scripting language has a date object. [See JavaScript, Java, MySQL, php for examples of the Data object s use.] Date objects also generate the time in hundreds of milliseconds. This Java example shows how to create a date object and store it in a String variable: String datetimestamp = new java.sql.timestamp(system.currenttimemillis()).tostring(); The actual result in this example is : Take a moment to break the command into pieces - it is a great way to learn how to think as programmers and computers (seem) to. In the very middle of the command is System.currentTimeMillis(). Notice the word System. This is an example of a reserve word meaning programmers should not use it because the term refers to an Object that already exists in the code libraries the programmer uses. (Each language has its own its own set of reserve words.) System always means "ask the operating system to do something". The parentheses ( ) always mean "do something or get something". So we can interrogate the command: Ask the System to do something What? Get the current time. Notice the.tostring(). The. always suggests to you that there is an object and we want to get a method (the function doing some work) from that object. (The. is called a dot operator. The same thing you see in 1

2 SQL, e.g., table.fieldname, e.g., student_workers.idno.) In this case the object is "Timestamp" that resides in the sql library, which is part of the Java programming language s library of pre-compiled code; the Timestamp object has a command to convert the time into something we can understand, a String. Then store the newly-converted data in a variable, called "datetimestamp". This display is useful but not attractive. All programming languages have methods that will convert the date stamp into other formats such as "Jan. 03, 2010" or "January 3, 2010" or " ", etc. When storing the date in an SQL table, the date is set off by single quotes (as all String and Date objects are for SQL). In this example, a field called start_date is assigned a date for user ID 100 in table student_staff: UPDATE student_staff SET start_date = FOR userid = 100 ; String To indicate a String use double quotes, e.g., "cat". To a computer, the data in the string is immaterial. Computers fetch the String from RAM by the memory address of the first letter: S x0010 u x0011 k x0012 y A. C a t and so on... Strings can be concatenated to form new strings1. Say we have String a = "Hello"; and String b = "Tom" we could join these strings into a new one. Using the command "print", which means send data to (or print on) the standard output device (the default is the monitor) whatever is in the parentheses: Command Display System.out.print( a + b ); Hello Tom We can mix-and-match variables with "string literals." Here we want to let Tom know he s late: Command Display System.out.println( a + ", " + b + ". You re late."); Hello, Tom. You re late. It is common to create web pages and other documents on-the-fly ("in real time") by merging String literals, variables, and data retrieved from database tables. In this example, we mix html tags, literals, and the last_name field from a database into a single big String that is then streamed back to the user, via a Servlet OutputStream object ("sos"). [See Topic web servers for specifics.] sos.println("<b> Welcome, Ms. "+rs.getstring("last_name") + " to our program. </b>"); Character (Byte) Characters and bytes are interchangeable in a computer. A character is a single alphanumber and is limited to alphanumerics only. To create a character variable, use single quotes: char mycharacter = a. This is important because you cannot concatenate Strings and characters. For instance, say you have a String s = "My Grade is " and a char grade = A, you cannot issue the command print(s + grade). However, you can convert the character into a String first and then join the strings, called casting. Numbers Numbers can consume tremendous amounts of storage space and RAM so it is important to use right type for your numbers. The most commonly found data type for numbers is int or integer. The int type holds whole numbers only, e.g., 0, 39, 122. Two other important data types, useful in math and finance, are float and double. These data types separate their values into two parts: the part before the abscissa and the part after. For example, if you want to store pi (π) as 3, use int; if you want use 2

3 float; if you want use double. Usually, the size of a float is 236; a double is 264. In other words extremely large numbers! As an example say you want to determine someone s grade on a quiz. There are 100 questions and the student answered 83 of them correctly. The percent correct is "number_correct/100" [83/100]. If we declare two integers for the number_correct and the total_no_of_questions and store the results of their division in another int we will not see the results we expect the value is shown as 0% instead of the proper 83%. int number_correct = 83; int total_no_of_questions = 100; int percent_correct = number_correct/total_no_of_questions; // = 0 The int type has no storage room for numbers after the abscissa (.83) leaving only the 0. However, if we change percent_correct to the float data type, there s no problem: float percent_correct = number_correct/total_no_of_questions; // = 0.83 Other important data types There are many data types that are available from programming libraries and a limitless number of data types created as objects. Here is a couple of useful data types and how they might be used. Array An array is an "ordered arrangement of data elements." It is analogous to a egg crate - a single container to a group of other things. Say you re creating a table of staff members. You ll want last name, first name, middle initial, department number, and . If the number of Strings aren t going to change, the array is a good choice to use. Here we create an array, called staff_member, and assign it five slots (like 5 eggs in the egg crate). Each slot has its own number, starting with 0. The slots are empty at this point...: String[] staff_member = new String(5); String[ ] staff_member = new String(5) [ ] means "this is an array"; the String says this is an array of strings this is the name of the array variable get ready to save enough memory for this array of five Strings. 3 To the computer, the array looks something like: staff_member[0] = ""; staff_member[1] = ""; staff_member[4] = ""; Now, we can assign real data into our array: staff_member[0] = "Smith"; staff_member[1] = "Nancy"; staff_member[2] = "A"; staff_member[3] = "English Dept."; staff_member[4] = "smith@myschool.edu"; In the real world you would continue to add names, or more efficiently, create a "staff_member object" to cluster all the Strings and other data. But for our purposes, you see how the array was declared and instantiated; then data were stored in the array. To get the data back out of the array, we refer to the name

4 of the array and the "index" of the data we want. Here, the last name data are stored in the first member of the array, 0: System.out.print("The teacher s name is "+staff_member[1] +" "+staff_member[0]); would appear as The teacher s name is Nancy Smith. Arrays are useful, but may become unwieldy if there are a lot of data. But they are useful especially for commonly-used data that are not going to be changed. For example, Dates are often displayed using arrays: String[] days_en = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"; String[] days_fr = {"dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "dimanche"; Now we might say on screen, System.out.println("Bonjour, c est "+days_fr[1]) to see Bonjour, c est lundi. Vector Strings are not usually changed after being created. There Vector data type is like an array but can be easily dynamically resized and it is not limited to a single data type. Think of a vector as an egg crate that can hold eggs, toast, coffee, anything Vectors are designed to hold objects and so vectors see everything as an object, regardless of what you store. This means you store data as you want, but retrieve the data from the array and cast it back into the data type you need. Here are the steps: Declare a vector and name it "vstaff": Vector vstaff = new Vector(); Store data in the vector: vstaff.addelement("smith"); // this is a String vstaff.addelement("nancy"); vstaff.addelement( 25 ); // this is an integer Retrieve the data: String name = (String)vStaff.elementAt(1) + " " + (String)vStaff.elementAt(0); Here, the (String) is an explicit cast, converting the selected element s data from Object to String. Now we might say System.out.println("The teacher is "+name); and see "The teacher is Nancy Smith" Object For completeness sake, here is the idea of a staff_member expressed as our own object. [See Topic Objects for fundamentals about objects.] Like the vector example, we want to store heterogeneous data types all of which refer to the same entity, the "staff member". So we create an object, StaffMember. In this example in Java, the class is declared public, meaning the class can be used by other parts of the program. 4 class StaffMember { String last_name; String first_name; String dept_name; float hourly_wage; float hours_worked;

5 boolean checkprinted; public void StaffMember() { public void StaffMember(String lname, String fname, String dept) { this.last_name = lname; this.first_name = fname; this.dept_name = dept; public void sethourlywage(float wage) { this.hourly_wage = wage; public void sethoursworked(float hoursworked) { this.hours_worked = hoursworked; public float getweeklypay() { return hourly_wage * hours_worked; public boolean ischeckprinted() { return checkprinted; public void printcheck() { printthecheck(); checkprinted = true; protected void printthecheck() { // this part would print the check. // it cannot be accessed from outside the program. To use this object, we create an "instance" of the object. For example, say we have two staff members, Smith and Jones. We can create an object for each of them: StaffMember smith = new StaffMember("Smith", "Nancy", "English Dept"); StaffMember jones = new StaffMember("Jones", "Bill", "French Dept"); Later in the program we could issue commands that make sense both to the computer and to the user: smith.sethourlywage( ); smith.sethoursworked(15.5); jones.sethourlywage(15.95); We can imagine now someone printing checks: if (!(smith.ischeckprinted() )) { smith.printcheck(); //! means "not" To automate the process completely, let s put all the staff members in a single array and complete payroll: 5 String[] staffers = { "Smith", "Jones", "Benoît", "Hussey", "Bix" ; String tempname = ""; for (int i = 0; i < staffers.length(); i++) { tempname = staffers[i]; if (!(tempname.ischeckprinted()) {

6 tempname.printcheck(); Related topics Readings What to know Demonstration Scripting Objects SQL None Encapsulation, inheritance, polymorphism how objects are vital to information processing None Data types in Java (and C++): This is an optional reading. The first part is from Sun Microsystem s Java website. The second part is from the LIS458, Relational Database Class class materials. Primitive Data Types The Java programming language is strongly-typed, which means that all variables must first be declared before they can be used. This involves stating the variable's type and name, as you've already seen: int gear = 1; Doing so tells your program that a field named "gear" exists, holds numerical data, and has an initial value of "1". A variable s data type determines the values it may contain, plus the operations that may be performed on it. In addition to int, the Java programming language supports seven other primitive data types. A primitive type is predefined by the language and is named by a reserved keyword. Primitive values do not share state with other primitive values. The eight primitive data types supported by the Java programming language are: byte: The byte data type is an 8-bit signed two's complement integer. It has a minimum value of -128 and a maximum value of 127 (inclusive). The byte data type can be useful for saving memory in large arrays, where the memory savings actually matters. They can also be used in place of int where their limits help to clarify your code; the fact that a variable's range is limited can serve as a form of documentation. short: The short data type is a 16-bit signed two s complement integer. It has a minimum value of -32,768 and a maximum value of 32,767 (inclusive). As with byte, the same guidelines apply: you can use a short to save memory in large arrays, in situations where the memory savings actually matters. int: The int data type is a 32-bit signed two's complement integer. It has a minimum value of -2,147,483,648 and a maximum value of 2,147,483,647 (inclusive). For integral values, this data type is generally the default choice unless there is a reason (like the above) to choose something else. This data type will most likely be large enough for the numbers your program will use, but if you need a wider range of values, use long instead. long: The long data type is a 64-bit signed two's complement integer. It has a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807 (inclusive). Use this data type when you need a range of values wider than those provided by int. 6

7 float: The float data type is a single-precision 32-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in section of the Java Language Specification. As with the recommendations for byte and short, use a float (instead of double) if you need to save memory in large arrays of floating point numbers. This data type should never be used for precise values, such as currency. For that, you will need to use the java.math.bigdecimal class instead. Numbers and Strings covers BigDecimal and other useful classes provided by the Java platform. double: The double data type is a double-precision 64-bit IEEE 754 floating point. Its range of values is beyond the scope of this discussion, but is specified in section of the Java Language Specification. For decimal values, this data type is generally the default choice. As mentioned above, this data type should never be used for precise values, such as currency. boolean: The boolean data type has only two possible values: true and false. Use this data type for simple flags that track true/false conditions. This data type represents one bit of information, but its "size" isn't something that's precisely defined. char: The char data type is a single 16-bit Unicode character. It has a minimum value of '\u0000' (or 0) and a maximum value of '\uffff' (or 65,535 inclusive). In addition to the eight primitive data types listed above, the Java programming language also provides special support for character strings via the java.lang.string class. Enclosing your character string within double quotes will automatically create a new String object; for example, String s = "this is a string";. String objects are immutable, which means that once created, their values cannot be changed. The String class is not technically a primitive data type, but considering the special support given to it by the language, you'll probably tend to think of it as such. You'll learn more about the String class in Simple Data Objects Default Values It s not always necessary to assign a value when a field is declared. Fields that are declared but not initialized will be set to a reasonable default by the compiler. Generally speaking, this default will be zero or null, depending on the data type. Relying on such default values, however, is generally considered bad programming style. The following chart summarizes the default values for the above data types. Data Type byte short int long float double char String (or any object) boolean Default Value (for fields) L 0.0f 0.0d '\u0000' null false Local variables are slightly different; the compiler never assigns a default value to an uninitialized local variable. If you cannot initialize your local variable where it is declared, make sure to assign it a value before you attempt to use it. Accessing an uninitialized local variable will result in a compile-time error. Literals You may have noticed that the new keyword isn't used when initializing a variable of a primitive type. Primitive types are special data types built into the language; they are not objects created from a class. A literal is the source code representation of a fixed value; literals are represented directly in your code without requiring computation. As shown below, it's possible to assign a literal to a variable of a primitive type: 7 boolean result = true; char capitalc = 'C';

8 byte b = 100; short s = 10000; int i = ; The integral types (byte, short, int, and long) can be expressed using decimal, octal, or hexadecimal number systems. Decimal is the number system you already use every day; it's based on 10 digits, numbered 0 through 9. The octal number system is base 8, consisting of the digits 0 through 7. The hexadecimal system is base 16, whose digits are the numbers 0 through 9 and the letters A through F. For general-purpose programming, the decimal system is likely to be the only number system you'll ever use. However, if you need octal or hexadecimal, the following example shows the correct syntax. The prefix 0 indicates octal, whereas 0x indicates hexadecimal. int decval = 26; // The number 26, in decimal int octval = 032; // The number 26, in octal int hexval = 0x1a; // The number 26, in hexadecimal The floating point types (float and double) can also be expressed using E or e (for scientific notation), F or f (32-bit float literal) and D or d (64-bit double literal; this is the default and by convention is omitted) double d1 = 123.4; double d2 = 1.234e2; // same value as d1, but in scientific notation float f1 = 123.4f; Literals of types char and String may contain any Unicode (UTF-16) characters. If your editor and file system allow it, you can use such characters directly in your code. If not, you can use a "Unicode escape" such as '\u0108' (capital C with circumflex), or "S\u00ED se\u00f1or" (Sí Señor in Spanish). Always use 'single quotes' for char literals and "double quotes" for String literals. Unicode escape sequences may be used elsewhere in a program (such as in field names, for example), not just in char or String literals. The Java programming language also supports a few special escape sequences for char and String literals: \b (backspace), \t (tab), \n (line feed), \f (form feed), \r (carriage return), \" (double quote), \' (single quote), and \\ (backslash). There's also a special null literal that can be used as a value for any reference type. null may be assigned to any variable, except variables of primitive types. There's little you can do with a null value beyond testing for its presence. Therefore, null is often used in programs as a marker to indicate that some object is unavailable. Finally, there's also a special kind of literal called a class literal, formed by taking a type name and appending ".class"; for example, String.class. This refers to the object (of type Class) that represents the type itself. 8 [String: TBA] Now let s see some of MySQL s data types. MySQL (and all relational database management systems) supports different kinds of data with the same consequence for design: how much room with the data occupy on the hard drive? We could classify SQL data into numeric, date, time, and string types. Just to give you the idea of the how much storage the different values require, here is a list. [See MySQL or your database vendor s homepage or help site to know the exact sizes for your operating system and database version.] Numeric types: 1. bit (same as TINYINT(1)) and can be used as a boolean: SELECT IF(0, true, false ); means "If we select some data that is true, give us a value (or return) the number 1, otherwise show the number smallint (signed or unsigned); range from to 32767; unsigned range is mediumint (signed or unsigned); range from ; unsigned int (normal sized integer; signed or unsigned); range to ; unsigned is from 0 to bigint (a large integer!); unsigned range is to ; unsigned range is 0 to float E E-38; or unsigned up to E+38

9 7. double 8. double precision 9. decimal Date types: 1. date to , in YYYY-MM-DD format 2. datetime :00:00 to :59:59 in YYYY-MM-DD HH:MM:SS 3. timestamp :00:01 4. time -838:5959 to 838: year in 2 or 4 year formats, 1901 to 2155; 70 to 69 (referring to 1970 to 2069) One reason you need to know this is because certain database functions, such as SUM() and AVG() do not work with temporal values without converting the numbers first. String types: charset Identifies which encoding to use (synonym for "Character Set"). This is important because we ve moved away from ASCII to Unicode. This shows how you would create a database table and specify that the database will accept UTF8 characters: CREATE TABLE t ( c1 VARCHAR(20) CHARSET utf8 ); If you want ASCII, specify CHARACTER SET latin1 For Unicode, specify CHARACTER SET ucs2 char a fixed-length string that is always right-padded with spaces to the specific length when stored; the range is characters varchar creates a character column, characters binary similar to char but stores binary byte data varbinary tinyblob a blob column with a maximum length of 255 (28-1) bytes tinytext a text column with a maximum length of 255 blob a column of up to 65,535 (216-1) bytes mediumblob bytes, 16,777,215 longblob 4,294,967,295 or 4GB, (232-1) longtext 4,294,967,295 or 4GB, (232-1) enum an enumeration, or a strong object, that can have one value chosen from a list of values that are assigned to it during creation (e.g., ENUM( value1, value2, ) SET a string object that can have zero of more values, each of which must be chosen from the list of values assigned during creation (e.g., SET( value1, value2, ). A set column can have a maximum of 64 members; they re represented internally as integers. Datatypes in MySQL CHAR[length] A fixed-length field from 0 to 255 characters long VARCHAR[length] " " TINYTEXT A string with maximum length of 255 characters. TEXT A string with maximum length of 65,535 characters. MEDIUMTEXT A string of max length 16,777,215 characters LONGTEXT A string of max length of 4,294,967,295 characters. 9

10 TINYINT[length] Range of -128 to 127, or unsigned (not positive or negative sign) SMALLINT[length] Range of -32,768 to 32,767 or 0-65,535 unsigned. MEDIUMINT[length] Range of -8,388,608 to 8,388,607 or 0 to 16777,215 unsigned. INT[length] Range of -2,147,483,648 to 2,147,483,647 or 0-4,294,967,295 unsigned. BEGINT[length] Range of -9,223,372,036,854, to 9,223,372,036,854, or 0-18,446,744,073,709,551,615 unsigned FLOAT A small number with floating decimal point. DOUBLE[length, decimals] A large number with floating decimal point. DECIMAL[length, decimal] A DOUBLE stored as a string, allowing for a fixed decimal point DATE In YYYY-MM-DD format. DATETIME In YYYY-MM-DD HH:MM:SS format. TIMESTAMP In YYYYMMDDHHMMSS; note that the last possible date is TIME In HH:MM:SS format ENUM "Enumeration", that means each column can have one of several possible values SET Like ENUM except each column can have more than one of several possible values. 1 [Advanced point: It is computationally more efficient to use a StringBuffer object.] 10

MS ACCESS DATABASE DATA TYPES

MS ACCESS DATABASE DATA TYPES MS ACCESS DATABASE DATA TYPES Data Type Use For Size Text Memo Number Text or combinations of text and numbers, such as addresses. Also numbers that do not require calculations, such as phone numbers,

More information

Pemrograman Dasar. Basic Elements Of Java

Pemrograman Dasar. Basic Elements Of Java Pemrograman Dasar Basic Elements Of Java Compiling and Running a Java Application 2 Portable Java Application 3 Java Platform Platform: hardware or software environment in which a program runs. Oracle

More information

sqlite driver manual

sqlite driver manual sqlite driver manual A libdbi driver using the SQLite embedded database engine Markus Hoenicka mhoenicka@users.sourceforge.net sqlite driver manual: A libdbi driver using the SQLite embedded database engine

More information

How To Create A Table In Sql 2.5.2.2 (Ahem)

How To Create A Table In Sql 2.5.2.2 (Ahem) Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or

More information

A table is a collection of related data entries and it consists of columns and rows.

A table is a collection of related data entries and it consists of columns and rows. CST 250 MySQL Notes (Source: www.w3schools.com) MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables.

More information

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T)

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T) Unit- I Introduction to c Language: C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating

More information

A Brief Introduction to MySQL

A Brief Introduction to MySQL A Brief Introduction to MySQL by Derek Schuurman Introduction to Databases A database is a structured collection of logically related data. One common type of database is the relational database, a term

More information

Database Migration from MySQL to RDM Server

Database Migration from MySQL to RDM Server MIGRATION GUIDE Database Migration from MySQL to RDM Server A Birdstep Technology, Inc. Raima Embedded Database Division Migration Guide Published: May, 2009 Author: Daigoro F. Toyama Senior Software Engineer

More information

Variables, Constants, and Data Types

Variables, Constants, and Data Types Variables, Constants, and Data Types Primitive Data Types Variables, Initialization, and Assignment Constants Characters Strings Reading for this class: L&L, 2.1-2.3, App C 1 Primitive Data There are eight

More information

Introduction to SQL for Data Scientists

Introduction to SQL for Data Scientists Introduction to SQL for Data Scientists Ben O. Smith College of Business Administration University of Nebraska at Omaha Learning Objectives By the end of this document you will learn: 1. How to perform

More information

Topics. Parts of a Java Program. Topics (2) CS 146. Introduction To Computers And Java Chapter Objectives To understand:

Topics. Parts of a Java Program. Topics (2) CS 146. Introduction To Computers And Java Chapter Objectives To understand: Introduction to Programming and Algorithms Module 2 CS 146 Sam Houston State University Dr. Tim McGuire Introduction To Computers And Java Chapter Objectives To understand: the meaning and placement of

More information

MYSQL DATABASE ACCESS WITH PHP

MYSQL DATABASE ACCESS WITH PHP MYSQL DATABASE ACCESS WITH PHP Fall 2009 CSCI 2910 Server Side Web Programming Typical web application interaction Database Server 3 tiered architecture Security in this interaction is critical Web Server

More information

The programming language C. sws1 1

The programming language C. sws1 1 The programming language C sws1 1 The programming language C invented by Dennis Ritchie in early 1970s who used it to write the first Hello World program C was used to write UNIX Standardised as K&C (Kernighan

More information

Services. Relational. Databases & JDBC. Today. Relational. Databases SQL JDBC. Next Time. Services. Relational. Databases & JDBC. Today.

Services. Relational. Databases & JDBC. Today. Relational. Databases SQL JDBC. Next Time. Services. Relational. Databases & JDBC. Today. & & 1 & 2 Lecture #7 2008 3 Terminology Structure & & Database server software referred to as Database Management Systems (DBMS) Database schemas describe database structure Data ordered in tables, rows

More information

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java

More information

Using SQL Server Management Studio

Using SQL Server Management Studio Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases

More information

B.1 Database Design and Definition

B.1 Database Design and Definition Appendix B Database Design B.1 Database Design and Definition Throughout the SQL chapter we connected to and queried the IMDB database. This database was set up by IMDB and available for us to use. But

More information

CS 106 Introduction to Computer Science I

CS 106 Introduction to Computer Science I CS 106 Introduction to Computer Science I 01 / 21 / 2014 Instructor: Michael Eckmann Today s Topics Introduction Homework assignment Review the syllabus Review the policies on academic dishonesty and improper

More information

SQL Server Table Design - Best Practices

SQL Server Table Design - Best Practices CwJ Consulting Ltd SQL Server Table Design - Best Practices Author: Andy Hogg Date: 20 th February 2015 Version: 1.11 SQL Server Table Design Best Practices 1 Contents 1. Introduction... 3 What is a table?...

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

java.util.scanner Here are some of the many features of Scanner objects. Some Features of java.util.scanner

java.util.scanner Here are some of the many features of Scanner objects. Some Features of java.util.scanner java.util.scanner java.util.scanner is a class in the Java API used to create a Scanner object, an extremely versatile object that you can use to input alphanumeric characters from several input sources

More information

Linas Virbalas Continuent, Inc.

Linas Virbalas Continuent, Inc. Linas Virbalas Continuent, Inc. Heterogeneous Replication Replication between different types of DBMS / Introductions / What is Tungsten (the whole stack)? / A Word About MySQL Replication / Tungsten Replicator:

More information

Informatica e Sistemi in Tempo Reale

Informatica e Sistemi in Tempo Reale Informatica e Sistemi in Tempo Reale Introduction to C programming Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 25, 2010 G. Lipari (Scuola Superiore Sant Anna)

More information

C++ Language Tutorial

C++ Language Tutorial cplusplus.com C++ Language Tutorial Written by: Juan Soulié Last revision: June, 2007 Available online at: http://www.cplusplus.com/doc/tutorial/ The online version is constantly revised and may contain

More information

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved. 1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,

More information

Once the schema has been designed, it can be implemented in the RDBMS.

Once the schema has been designed, it can be implemented in the RDBMS. 2. Creating a database Designing the database schema... 1 Representing Classes, Attributes and Objects... 2 Data types... 5 Additional constraints... 6 Choosing the right fields... 7 Implementing a table

More information

SQL. Short introduction

SQL. Short introduction SQL Short introduction 1 Overview SQL, which stands for Structured Query Language, is used to communicate with a database. Through SQL one can create, manipulate, query and delete tables and contents.

More information

Chapter 2: Elements of Java

Chapter 2: Elements of Java Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction

More information

Lecture 5: Java Fundamentals III

Lecture 5: Java Fundamentals III Lecture 5: Java Fundamentals III School of Science and Technology The University of New England Trimester 2 2015 Lecture 5: Java Fundamentals III - Operators Reading: Finish reading Chapter 2 of the 2nd

More information

SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay

SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay SQL Server Array Library 2010-11 László Dobos, Alexander S. Szalay The Johns Hopkins University, Department of Physics and Astronomy Eötvös University, Department of Physics of Complex Systems http://voservices.net/sqlarray,

More information

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science

First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca

More information

Oracle Internal & Oracle Academy

Oracle Internal & Oracle Academy Declaring PL/SQL Variables Objectives After completing this lesson, you should be able to do the following: Identify valid and invalid identifiers List the uses of variables Declare and initialize variables

More information

Overview. java.math.biginteger, java.math.bigdecimal. Definition: objects are everything but primitives The eight primitive data type in Java

Overview. java.math.biginteger, java.math.bigdecimal. Definition: objects are everything but primitives The eight primitive data type in Java Data Types The objects about which computer programs compute is data. We often think first of integers. Underneath it all, the primary unit of data a machine has is a chunks of bits the size of a word.

More information

Advanced SQL. Jim Mason. www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353. jemason@ebt-now.

Advanced SQL. Jim Mason. www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353. jemason@ebt-now. Advanced SQL Jim Mason jemason@ebt-now.com www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353 What We ll Cover SQL and Database environments Managing Database

More information

Introduction to Java. CS 3: Computer Programming in Java

Introduction to Java. CS 3: Computer Programming in Java Introduction to Java CS 3: Computer Programming in Java Objectives Begin with primitive data types Create a main class with helper methods Learn how to call built-in class methods and instance methods

More information

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved.

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved. 1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays

More information

Chapter 7D The Java Virtual Machine

Chapter 7D The Java Virtual Machine This sub chapter discusses another architecture, that of the JVM (Java Virtual Machine). In general, a VM (Virtual Machine) is a hypothetical machine (implemented in either hardware or software) that directly

More information

Specifications of Paradox for Windows

Specifications of Paradox for Windows Specifications of Paradox for Windows Appendix A 1 Specifications of Paradox for Windows A IN THIS CHAPTER Borland Database Engine (BDE) 000 Paradox Standard Table Specifications 000 Paradox 5 Table Specifications

More information

JAVA - QUICK GUIDE. Java SE is freely available from the link Download Java. So you download a version based on your operating system.

JAVA - QUICK GUIDE. Java SE is freely available from the link Download Java. So you download a version based on your operating system. http://www.tutorialspoint.com/java/java_quick_guide.htm JAVA - QUICK GUIDE Copyright tutorialspoint.com What is Java? Java is: Object Oriented Platform independent: Simple Secure Architectural- neutral

More information

MySQL 5.1 INTRODUCTION 5.2 TUTORIAL

MySQL 5.1 INTRODUCTION 5.2 TUTORIAL 5 MySQL 5.1 INTRODUCTION Many of the applications that a Web developer wants to use can be made easier by the use of a standardized database to store, organize, and access information. MySQL is an Open

More information

Field Properties Quick Reference

Field Properties Quick Reference Field Properties Quick Reference Data types The following table provides a list of the available data types in Microsoft Office Access 2007, along with usage guidelines and storage capacities for each

More information

Apache Cassandra Query Language (CQL)

Apache Cassandra Query Language (CQL) REFERENCE GUIDE - P.1 ALTER KEYSPACE ALTER TABLE ALTER TYPE ALTER USER ALTER ( KEYSPACE SCHEMA ) keyspace_name WITH REPLICATION = map ( WITH DURABLE_WRITES = ( true false )) AND ( DURABLE_WRITES = ( true

More information

4 Simple Database Features

4 Simple Database Features 4 Simple Database Features Now we come to the largest use of iseries Navigator for programmers the Databases function. IBM is no longer developing DDS (Data Description Specifications) for database definition,

More information

DNA Data and Program Representation. Alexandre David 1.2.05 adavid@cs.aau.dk

DNA Data and Program Representation. Alexandre David 1.2.05 adavid@cs.aau.dk DNA Data and Program Representation Alexandre David 1.2.05 adavid@cs.aau.dk Introduction Very important to understand how data is represented. operations limits precision Digital logic built on 2-valued

More information

Physical Design. Meeting the needs of the users is the gold standard against which we measure our success in creating a database.

Physical Design. Meeting the needs of the users is the gold standard against which we measure our success in creating a database. Physical Design Physical Database Design (Defined): Process of producing a description of the implementation of the database on secondary storage; it describes the base relations, file organizations, and

More information

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java

More information

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program. Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

More information

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement

More information

Webapps Vulnerability Report

Webapps Vulnerability Report Tuesday, May 1, 2012 Webapps Vulnerability Report Introduction This report provides detailed information of every vulnerability that was found and successfully exploited by CORE Impact Professional during

More information

Microsoft SQL connection to Sysmac NJ Quick Start Guide

Microsoft SQL connection to Sysmac NJ Quick Start Guide Microsoft SQL connection to Sysmac NJ Quick Start Guide This Quick Start will show you how to connect to a Microsoft SQL database it will not show you how to set up the database. Watch the corresponding

More information

Base Conversion written by Cathy Saxton

Base Conversion written by Cathy Saxton Base Conversion written by Cathy Saxton 1. Base 10 In base 10, the digits, from right to left, specify the 1 s, 10 s, 100 s, 1000 s, etc. These are powers of 10 (10 x ): 10 0 = 1, 10 1 = 10, 10 2 = 100,

More information

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 Oct 4, 2013, p 1 Name: CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 1. (max 18) 4. (max 16) 2. (max 12) 5. (max 12) 3. (max 24) 6. (max 18) Total: (max 100)

More information

Black Hat Briefings USA 2004 Cameron Hotchkies cameron@0x90.org

Black Hat Briefings USA 2004 Cameron Hotchkies cameron@0x90.org Blind SQL Injection Automation Techniques Black Hat Briefings USA 2004 Cameron Hotchkies cameron@0x90.org What is SQL Injection? Client supplied data passed to an application without appropriate data validation

More information

Core Components Data Type Catalogue Version 3.1 17 October 2011

Core Components Data Type Catalogue Version 3.1 17 October 2011 Core Components Data Type Catalogue Version 3.1 17 October 2011 Core Components Data Type Catalogue Version 3.1 Page 1 of 121 Abstract CCTS 3.0 defines the rules for developing Core Data Types and Business

More information

Number Representation

Number Representation Number Representation CS10001: Programming & Data Structures Pallab Dasgupta Professor, Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Topics to be Discussed How are numeric data

More information

Information Systems SQL. Nikolaj Popov

Information Systems SQL. Nikolaj Popov Information Systems SQL Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline SQL Table Creation Populating and Modifying

More information

SQL Injection. The ability to inject SQL commands into the database engine through an existing application

SQL Injection. The ability to inject SQL commands into the database engine through an existing application SQL Injection The ability to inject SQL commands into the database engine through an existing application 1 What is SQL? SQL stands for Structured Query Language Allows us to access a database ANSI and

More information

Financial Data Access with SQL, Excel & VBA

Financial Data Access with SQL, Excel & VBA Computational Finance and Risk Management Financial Data Access with SQL, Excel & VBA Guy Yollin Instructor, Applied Mathematics University of Washington Guy Yollin (Copyright 2012) Data Access with SQL,

More information

Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. "Executive Summary": here.

Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. Executive Summary: here. Topic for today Principles of Database Management Systems Pekka Kilpeläinen (after Stanford CS245 slide originals by Hector Garcia-Molina, Jeff Ullman and Jennifer Widom) How to represent data on disk

More information

ERserver. DB2 Universal Database for iseries SQL Programming with Host Languages. iseries. Version 5

ERserver. DB2 Universal Database for iseries SQL Programming with Host Languages. iseries. Version 5 ERserver iseries DB2 Universal Database for iseries SQL Programming with Host Languages Version 5 ERserver iseries DB2 Universal Database for iseries SQL Programming with Host Languages Version 5 Copyright

More information

4 Logical Design : RDM Schema Definition with SQL / DDL

4 Logical Design : RDM Schema Definition with SQL / DDL 4 Logical Design : RDM Schema Definition with SQL / DDL 4.1 SQL history and standards 4.2 SQL/DDL first steps 4.2.1 Basis Schema Definition using SQL / DDL 4.2.2 SQL Data types, domains, user defined types

More information

XEP-0043: Jabber Database Access

XEP-0043: Jabber Database Access XEP-0043: Jabber Database Access Justin Kirby mailto:justin@openaether.org xmpp:zion@openaether.org 2003-10-20 Version 0.2 Status Type Short Name Retracted Standards Track Expose RDBM systems directly

More information

MySQL+HandlerSocket=NoSQL

MySQL+HandlerSocket=NoSQL Why you need NoSQL Alternatives Meet HS HS internal working HS-MySQL interoperability Interface MySQL+HandlerSocket=NoSQL Protocol Using HS Commands Peculiarities Configuration hints Use cases @ Badoo

More information

This section describes how LabVIEW stores data in memory for controls, indicators, wires, and other objects.

This section describes how LabVIEW stores data in memory for controls, indicators, wires, and other objects. Application Note 154 LabVIEW Data Storage Introduction This Application Note describes the formats in which you can save data. This information is most useful to advanced users, such as those using shared

More information

DDL is short name of Data Definition Language, which deals with database schemas and descriptions, of how the data should reside in the database.

DDL is short name of Data Definition Language, which deals with database schemas and descriptions, of how the data should reside in the database. Snippets Datenmanagement Version: 1.1.0 Study: 2. Semester, Bachelor in Business and Computer Science School: Hochschule Luzern - Wirtschaft Author: Janik von Rotz (http://janikvonrotz.ch) Source: https://gist.github.com/janikvonrotz/6e27788f662fcdbba3fb

More information

J a v a Quiz (Unit 3, Test 0 Practice)

J a v a Quiz (Unit 3, Test 0 Practice) Computer Science S-111a: Intensive Introduction to Computer Science Using Java Handout #11 Your Name Teaching Fellow J a v a Quiz (Unit 3, Test 0 Practice) Multiple-choice questions are worth 2 points

More information

Firebird. Embedded SQL Guide for RM/Cobol

Firebird. Embedded SQL Guide for RM/Cobol Firebird Embedded SQL Guide for RM/Cobol Embedded SQL Guide for RM/Cobol 3 Table of Contents 1. Program Structure...6 1.1. General...6 1.2. Reading this Guide...6 1.3. Definition of Terms...6 1.4. Declaring

More information

VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR

VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR Andrey V.Lyamin, State University of IT, Mechanics and Optics St. Petersburg, Russia Oleg E.Vashenkov, State University of IT, Mechanics and Optics, St.Petersburg,

More information

3.GETTING STARTED WITH ORACLE8i

3.GETTING STARTED WITH ORACLE8i Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer

More information

Programming Languages CIS 443

Programming Languages CIS 443 Course Objectives Programming Languages CIS 443 0.1 Lexical analysis Syntax Semantics Functional programming Variable lifetime and scoping Parameter passing Object-oriented programming Continuations Exception

More information

UIL Computer Science for Dummies by Jake Warren and works from Mr. Fleming

UIL Computer Science for Dummies by Jake Warren and works from Mr. Fleming UIL Computer Science for Dummies by Jake Warren and works from Mr. Fleming 1 2 Foreword First of all, this book isn t really for dummies. I wrote it for myself and other kids who are on the team. Everything

More information

Chapter 2 Elementary Programming

Chapter 2 Elementary Programming Chapter 2 Elementary Programming 2.1 Introduction You will learn elementary programming using Java primitive data types and related subjects, such as variables, constants, operators, expressions, and input

More information

Advanced PostgreSQL SQL Injection and Filter Bypass Techniques

Advanced PostgreSQL SQL Injection and Filter Bypass Techniques Advanced PostgreSQL SQL Injection and Filter Bypass Techniques INFIGO-TD TD-200 2009-04 2009-06 06-17 Leon Juranić leon.juranic@infigo.hr INFIGO IS. All rights reserved. This document contains information

More information

Integrating VoltDB with Hadoop

Integrating VoltDB with Hadoop The NewSQL database you ll never outgrow Integrating with Hadoop Hadoop is an open source framework for managing and manipulating massive volumes of data. is an database for handling high velocity data.

More information

Numbering Systems. InThisAppendix...

Numbering Systems. InThisAppendix... G InThisAppendix... Introduction Binary Numbering System Hexadecimal Numbering System Octal Numbering System Binary Coded Decimal (BCD) Numbering System Real (Floating Point) Numbering System BCD/Binary/Decimal/Hex/Octal

More information

PHP Tutorial From beginner to master

PHP Tutorial From beginner to master PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

More information

CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals

CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals CSE 1223: Introduction to Computer Programming in Java Chapter 2 Java Fundamentals 1 Recall From Last Time: Java Program import java.util.scanner; public class EggBasket { public static void main(string[]

More information

Microsoft SQL Server to Infobright Database Migration Guide

Microsoft SQL Server to Infobright Database Migration Guide Microsoft SQL Server to Infobright Database Migration Guide Infobright 47 Colborne Street, Suite 403 Toronto, Ontario M5E 1P8 Canada www.infobright.com www.infobright.org Approaches to Migrating Databases

More information

Comparison of Open Source RDBMS

Comparison of Open Source RDBMS Comparison of Open Source RDBMS DRAFT WORK IN PROGRESS FEEDBACK REQUIRED Please send feedback and comments to s.hetze@linux-ag.de Selection of the Candidates As a first approach to find out which database

More information

Sources: On the Web: Slides will be available on:

Sources: On the Web: Slides will be available on: C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,

More information

Government Girls Polytechnic, Bilaspur

Government Girls Polytechnic, Bilaspur Government Girls Polytechnic, Bilaspur Name of the Lab: Internet & Web Technology Lab Title of the Practical : Dynamic Web Page Design Lab Class: CSE 6 th Semester Teachers Assessment:20 End Semester Examination:50

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information

Embedded SQL programming

Embedded SQL programming Embedded SQL programming http://www-136.ibm.com/developerworks/db2 Table of contents If you're viewing this document online, you can click any of the topics below to link directly to that section. 1. Before

More information

PL / SQL Basics. Chapter 3

PL / SQL Basics. Chapter 3 PL / SQL Basics Chapter 3 PL / SQL Basics PL / SQL block Lexical units Variable declarations PL / SQL types Expressions and operators PL / SQL control structures PL / SQL style guide 2 PL / SQL Block Basic

More information

Java Crash Course Part I

Java Crash Course Part I Java Crash Course Part I School of Business and Economics Institute of Information Systems HU-Berlin WS 2005 Sebastian Kolbe skolbe@wiwi.hu-berlin.de Overview (Short) introduction to the environment Linux

More information

ODBC Client Driver Help. 2015 Kepware, Inc.

ODBC Client Driver Help. 2015 Kepware, Inc. 2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 4 Overview 4 External Dependencies 4 Driver Setup 5 Data Source Settings 5 Data Source Setup 6 Data Source Access Methods 13 Fixed Table 14 Table

More information

Data Storage: Each time you create a variable in memory, a certain amount of memory is allocated for that variable based on its data type (or class).

Data Storage: Each time you create a variable in memory, a certain amount of memory is allocated for that variable based on its data type (or class). Data Storage: Computers are made of many small parts, including transistors, capacitors, resistors, magnetic materials, etc. Somehow they have to store information in these materials both temporarily (RAM,

More information

So far we have considered only numeric processing, i.e. processing of numeric data represented

So far we have considered only numeric processing, i.e. processing of numeric data represented Chapter 4 Processing Character Data So far we have considered only numeric processing, i.e. processing of numeric data represented as integer and oating point types. Humans also use computers to manipulate

More information

Chapter 2 Introduction to Java programming

Chapter 2 Introduction to Java programming Chapter 2 Introduction to Java programming 1 Keywords boolean if interface class true char else package volatile false byte final switch while throws float private case return native void protected break

More information

Microsoft SQL Server Connector for Apache Hadoop Version 1.0. User Guide

Microsoft SQL Server Connector for Apache Hadoop Version 1.0. User Guide Microsoft SQL Server Connector for Apache Hadoop Version 1.0 User Guide October 3, 2011 Contents Legal Notice... 3 Introduction... 4 What is SQL Server-Hadoop Connector?... 4 What is Sqoop?... 4 Supported

More information

PL/SQL Overview. Basic Structure and Syntax of PL/SQL

PL/SQL Overview. Basic Structure and Syntax of PL/SQL PL/SQL Overview PL/SQL is Procedural Language extension to SQL. It is loosely based on Ada (a variant of Pascal developed for the US Dept of Defense). PL/SQL was first released in ١٩٩٢ as an optional extension

More information

Microsoft Access 3: Understanding and Creating Queries

Microsoft Access 3: Understanding and Creating Queries Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex

More information

AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping

AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping 3.1.1 Constants, variables and data types Understand what is mean by terms data and information Be able to describe the difference

More information

COSC282 BIG DATA ANALYTICS FALL 2015 LECTURE 2 - SEP 9

COSC282 BIG DATA ANALYTICS FALL 2015 LECTURE 2 - SEP 9 COSC282 BIG DATA ANALYTICS FALL 2015 LECTURE 2 - SEP 9 1 HOW WAS YOUR WEEKEND? Image source: http://www.liverunsparkle.com/ its-a-long-weekend-up-in-here/ 1. Read and Post on Piazza 2. Installed JDK &

More information

Utility Software II lab 1 Jacek Wiślicki, jacenty@kis.p.lodz.pl original material by Hubert Kołodziejski

Utility Software II lab 1 Jacek Wiślicki, jacenty@kis.p.lodz.pl original material by Hubert Kołodziejski MS ACCESS - INTRODUCTION MS Access is an example of a relational database. It allows to build and maintain small and medium-sized databases and to supply them with a graphical user interface. The aim of

More information

Ecma/TC39/2013/NN. 4 th Draft ECMA-XXX. 1 st Edition / July 2013. The JSON Data Interchange Format. Reference number ECMA-123:2009

Ecma/TC39/2013/NN. 4 th Draft ECMA-XXX. 1 st Edition / July 2013. The JSON Data Interchange Format. Reference number ECMA-123:2009 Ecma/TC39/2013/NN 4 th Draft ECMA-XXX 1 st Edition / July 2013 The JSON Data Interchange Format Reference number ECMA-123:2009 Ecma International 2009 COPYRIGHT PROTECTED DOCUMENT Ecma International 2013

More information

Part 1 Foundations of object orientation

Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed

More information

Moving from CS 61A Scheme to CS 61B Java

Moving from CS 61A Scheme to CS 61B Java Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you

More information

COSC 6397 Big Data Analytics. 2 nd homework assignment Pig and Hive. Edgar Gabriel Spring 2015

COSC 6397 Big Data Analytics. 2 nd homework assignment Pig and Hive. Edgar Gabriel Spring 2015 COSC 6397 Big Data Analytics 2 nd homework assignment Pig and Hive Edgar Gabriel Spring 2015 2 nd Homework Rules Each student should deliver Source code (.java files) Documentation (.pdf,.doc,.tex or.txt

More information

Title. Syntax. stata.com. odbc Load, write, or view data from ODBC sources. List ODBC sources to which Stata can connect odbc list

Title. Syntax. stata.com. odbc Load, write, or view data from ODBC sources. List ODBC sources to which Stata can connect odbc list Title stata.com odbc Load, write, or view data from ODBC sources Syntax Menu Description Options Remarks and examples Also see Syntax List ODBC sources to which Stata can connect odbc list Retrieve available

More information