<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Binbert &#187; Programming</title>
	<atom:link href="http://www.binbert.com/blog/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binbert.com/blog</link>
	<description>Technology &#124; Computer &#124; Security &#124; Networking &#124; Mobile</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:03:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Previous / yesterday&#8217;s date in DOS batch file</title>
		<link>http://www.binbert.com/blog/2010/07/previous-yesterdays-date-in-dos-batch-file/</link>
		<comments>http://www.binbert.com/blog/2010/07/previous-yesterdays-date-in-dos-batch-file/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 11:11:41 +0000</pubDate>
		<dc:creator>Albin Sebastian</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Bat file]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.binbert.com/blog/2010/07/previous-yesterdays-date-in-dos-batch-file/</guid>
		<description><![CDATA[Previous / yesterday&#8217;s date in DOS batch file
Here is the script to get previous date output in DOS using bat files. This is very useful when we take backup of files with previous date name. (for example backup_daily_20072010.zip ) or can set bat files to get last 7 days backup to a zip.  According to [...]]]></description>
			<content:encoded><![CDATA[<p>Previous / yesterday&#8217;s date in DOS batch file<br />
Here is the script to get previous date output in DOS using bat files. This is very useful when we take backup of files with previous date name. (for example backup_daily_20072010.zip ) or can set bat files to get last 7 days backup to a zip.  According to your requirement you can get any previous date from this script.  See the variable values. Following Script just show today’s and yesterdays date. Most of the script having some problems when it run on 1st if any moth. but here it is solved. you can customize the date formats also. using variables %DD%, %MM%, %YYYY%  Please comment to this post If you have any query .</p>
<blockquote><p>@echo off<br />
for /f &#8220;tokens=1&#8243; %%i in (&#8216;date /t&#8217;) do set thedate=%%i</p>
<p>set mm=%thedate:~3,2%<br />
set dd=%thedate:~0,2%<br />
set yyyy=%thedate:~6,4%<br />
echo.<br />
echo.<br />
echo Today : %dd%.%mm%.%yyyy%<br />
echo.</p>
<p>set /A dd=%dd% &#8211; 1<br />
set /A mm=%mm% + 0<br />
if /I %dd% GTR 0 goto DONE<br />
set /A mm=%mm% &#8211; 1<br />
if /I %mm% GTR 0 goto ADJUSTDAY<br />
set /A mm=12<br />
set /A yyyy=%yyyy% &#8211; 1<br />
:ADJUSTDAY<br />
if %mm%==1 goto SET31<br />
if %mm%==2 goto LEAPCHK<br />
if %mm%==3 goto SET31<br />
if %mm%==4 goto SET30<br />
if %mm%==5 goto SET31<br />
if %mm%==6 goto SET30<br />
if %mm%==7 goto SET31<br />
if %mm%==8 goto SET31<br />
if %mm%==9 goto SET30<br />
if %mm%==10 goto SET31<br />
if %mm%==11 goto SET30<br />
if %mm%==12 goto SET31<br />
goto ERROR<br />
:SET31<br />
set /A dd=31 + %dd%<br />
goto DONE<br />
:SET30<br />
set /A dd=30 + %dd%<br />
goto DONE<br />
:LEAPCHK<br />
set /A tt=%yyyy% %% 4<br />
if not %tt%==0 goto SET28<br />
set /A tt=%yyyy% %% 100<br />
if not %tt%==0 goto SET29<br />
set /A tt=%yyyy% %% 400<br />
if %tt%==0 goto SET29<br />
:SET28<br />
set /A dd=28 + %dd%<br />
goto DONE<br />
:SET29<br />
set /A dd=29 + %dd%<br />
: DONE<br />
if /i %dd% LSS 10 set dd=0%dd%<br />
if /I %mm% LSS 10 set mm=0%mm%<br />
set YESTERDAY=%dd%.%mm%.%yyyy%<br />
echo.<br />
echo YESTERDAY : %YESTERDAY%<br />
echo.<br />
echo.<br />
pause</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.binbert.com/blog/2010/07/previous-yesterdays-date-in-dos-batch-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/SQL Fundamentals Part 2</title>
		<link>http://www.binbert.com/blog/2010/07/plsql-fundamentals-part-2/</link>
		<comments>http://www.binbert.com/blog/2010/07/plsql-fundamentals-part-2/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 11:28:31 +0000</pubDate>
		<dc:creator>Bineesh Antony</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.binbert.com/blog/?p=693</guid>
		<description><![CDATA[In the last session , we have seen a brief about relational database model and a table structure. Let us see the database maintenance language called SQL in this chapter.
SQL is English like data base query language initially developed by Donald D Chamberlin and Raymond Boyce to manipulate data in IBM’s database called System R. [...]]]></description>
			<content:encoded><![CDATA[<p>In the<a href="http://www.binbert.com/blog/2010/07/plsql-fundamentals/"> last session </a>, we have seen a brief about relational database model and a table structure. Let us see the database maintenance language called SQL in this chapter.</p>
<p>SQL is English like data base query language initially developed by Donald D Chamberlin and Raymond Boyce to manipulate data in IBM’s database called System R. Foreseeing the scope of SQL, Oracle built their SQL based RDBMS and has done much modification to the structure of SQL. Later ANSI (American National Standards Institute) has approved SQL as the standard query language for Relational Databases.</p>
<p>The strengths of SQL provide benefits for all types of users, including application programmers, database administrators, managers, and end users. Technically speaking, SQL is a data sublanguage. The purpose of SQL is to provide an interface to a relational database such as Oracle Database, and all SQL statements are instructions to the database. In this SQL differs from general-purpose programming languages like C and BASIC.</p>
<p>SQL provides statements for a variety of tasks, such as</p>
<ol>
<li>Querying data</li>
<li>Inserting, updating, and deleting rows in a table</li>
<li>Creating, replacing, altering, and dropping objects</li>
<li>Controlling access to the database and its objects</li>
<li>Guaranteeing database consistency and integrity</li>
</ol>
<p><strong><span style="text-decoration: underline;">Basic Elements of Oracle SQL</span></strong></p>
<p>We will see the basic building blocks of SQL Statements. A detailed analysis of these will be included in the later sessions as and when the use of those is required. Those include</p>
<ol>
<li>Datatypes</li>
<li>Literals</li>
<li>Format Models</li>
<li>Nulls</li>
<li>Comments</li>
<li>Database Objects</li>
<li>Schema Object Names</li>
</ol>
<p><strong><span style="text-decoration: underline;">Datatypes</span></strong></p>
<p>In the previous chapter, we have discussed about the datatypes. The datatype of a value associates a fixed set of properties with the value. These properties cause Oracle to treat values of one datatype differently from values of another.</p>
<p><strong><span style="text-decoration: underline;">Literals</span></strong></p>
<p>The term Literal refers to a fixed data value. For eg, from our table ‘Scott’, ‘Peter’ are character literals. All character literals should be enclosed in single quotation marks. This helps SQL to identify our data literal from Oracle Keywords and Reserved Words (We will talk about Reserved Words in a later stage). The values like 101, 102 (EMPID) are numeric literals which need not to be enclosed in single quotation marks.  Date related data is called Date Literals.</p>
<p><strong><span style="text-decoration: underline;">Format Models</span></strong></p>
<p>A format model is a character literal that describes the format of datetime or numeric data stored in a character string. A format model does not change the internal representation of the value in the database. When you convert a character string into a date or number, a format model determines how Oracle Database interprets the string.  (More about format models will be discussed later in the data conversion lessons)</p>
<p><strong><span style="text-decoration: underline;">Nulls</span></strong></p>
<p>If a column in a row has no value, then the column is said to be null, or to contain null. Nulls can appear in columns of any datatype that are not restricted by NOT NULL or PRIMARY KEY integrity constraints. Use a null when the actual value is not known or when a value would not be meaningful. (Constraints will be discussed later).</p>
<p>Null values are not equal to zero and therefore do not use null to represent a value of zero.</p>
<p><strong><span style="text-decoration: underline;">Comments</span></strong></p>
<p>Comments are used to denote the description of a particular SQL statement and are separated from its execution. It is not the part of an SQL Statement. These help developers to identify more about an object or a statement.</p>
<p><strong><span style="text-decoration: underline;">Database Objects</span></strong></p>
<p>Oracle Database recognizes objects that are associated with a particular schema and objects that are not associated with a particular schema, as described in the sections that follow.</p>
<ul>
<li><span style="text-decoration: underline;">Schema Objects</span></li>
</ul>
<p>A schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema. Schema objects can be created and manipulated with SQL and include the following types of objects:</p>
<ul>
<li>Clusters</li>
<li>Constraints</li>
<li>Database links</li>
<li>Database triggers</li>
<li>Dimensions</li>
<li>External procedure libraries</li>
<li>Index-organized tables</li>
<li>Indexes</li>
<li>Index types</li>
<li>Java classes, Java resources, Java sources</li>
<li>Materialized views</li>
<li>Materialized view logs</li>
<li>Object tables</li>
<li>Object types</li>
<li>Object views</li>
<li>Operators</li>
<li>Packages</li>
<li>Sequences</li>
<li>Stored functions, stored procedures</li>
<li>Synonyms</li>
<li>Tables</li>
<li>Views</li>
</ul>
<p><strong><span style="text-decoration: underline;">Schema Object Names and Qualifiers</span></strong></p>
<p>Some schema objects are made up of parts that you can or must name, such as the columns in a table or view, index and table partitions and subpartitions, integrity constraints on a table, and objects that are stored within a package, including procedures and stored functions.</p>
<p>There are schema object naming conventions and rules which will be discussed later.</p>
<p>Next chapter we will begin with SQL Statements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.binbert.com/blog/2010/07/plsql-fundamentals-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bat file to get File size in human readable format</title>
		<link>http://www.binbert.com/blog/2010/07/bat-file-to-get-file-size-in-human-readable-format/</link>
		<comments>http://www.binbert.com/blog/2010/07/bat-file-to-get-file-size-in-human-readable-format/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 05:30:55 +0000</pubDate>
		<dc:creator>Albin Sebastian</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Bat file]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.binbert.com/blog/2010/07/bat-file-to-get-file-size-in-human-readable-format/</guid>
		<description><![CDATA[There is an example of Bat file which can give output of file size in human readable format (Value with KB / MB etc ). This bat file is good with some copying / backup bat files. Here you will get the file size in variable called %size% . You can test the script by [...]]]></description>
			<content:encoded><![CDATA[<p>There is an example of Bat file which can give output of file size in human readable format (Value with KB / MB etc ). This bat file is good with some copying / backup bat files. Here you will get the file size in variable called %size% . You can test the script by giving and input variable for %file%.</p>
<blockquote><p>echo off</p>
<p>set /p file= Type your file name :</p>
<p>for /f &#8220;tokens=4 &#8221; %%a in (&#8216;dir /a-d/-c %file% ^| findstr /e %file%&#8217;) do set size=%%a</p>
<p>set /a KB=(%size%/1024)</p>
<p>echo %KB% KB</p>
<p>set /a MB=(%size%/1024)/1024</p>
<p>Echo %MB% MB</p>
<p>pause</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.binbert.com/blog/2010/07/bat-file-to-get-file-size-in-human-readable-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/SQL Fundamentals</title>
		<link>http://www.binbert.com/blog/2010/07/plsql-fundamentals/</link>
		<comments>http://www.binbert.com/blog/2010/07/plsql-fundamentals/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 06:56:25 +0000</pubDate>
		<dc:creator>Bineesh Antony</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.binbert.com/blog/2010/07/plsql-fundamentals/</guid>
		<description><![CDATA[In my last article we were discussing about a few points related to the origin of the computer era. In this lesson, we will talk about database management systems, query language and the procedure based programming.
Any application software picks data from its database. A database can be defined as a collection of processed data arranged [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://www.binbert.com/blog/2010/05/we-are-living-at-the-edge-of-technologies/" target="_blank">last article</a> we were discussing about a few points related to the origin of the computer era. In this lesson, we will talk about database management systems, query language and the procedure based programming.</p>
<p>Any application software picks data from its database. A database can be defined as a collection of processed data arranged in two-dimensional tables ( ie . in rows and columns). To manage the stored data, we need specialized software which can be called as Database Management Systems (DBMS).</p>
<p>DBMS arranges and stores data in a logical fashion so that it can be easily maintained. IBM was the first company to introduce a formal database management system called IMS. In 1970, the concept of Relational Structure of a database came into effect which is proposed by Dr. Edgar F Codd.</p>
<p>Earlier, list-model database was used, where data is stored in the form of lists. The maintenance of these list based databases was quite difficult.</p>
<p>Codd’s idea of storing data in a tabular manner started a revolution in the database management systems. Instead of storing the entire data in a list, Codd’s way of tabular storage used a method of splitting the data in a logical fashion and stored in multiple tables and linking the tables together by relating the tables. DBMS which store data in this model is known as RDBMS (Relational Database Management System).</p>
<p>In this modern world we have many RDBMS software ex: Oracle, MS SQL Server, IBM DB2 etc..</p>
<p>In our session we are learning a little about Oracle Database and programming using Oracle. Oracle is the world’s leading RDBMS found by Dr. Larry Ellison based on the relational database structure designed by Dr. E F Codd. Oracle stores data in the form of tables and views. We are not going deep into how oracle stores data, oracle architecture, memory etc&#8230; We will go through the details of tables, views etc&#8230;</p>
<p>A table in an Oracle database is arranged in a two dimensional way represented by Rows and Columns. It is very much similar to an excel worksheet. The picture below displays the structure of a table.</p>
<p><strong>Employees</strong></p>
<p><strong> </strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="103" valign="top">EMPID</td>
<td width="112" valign="top">EMPNAME</td>
<td width="118" valign="top">DESIGNATION</td>
<td width="105" valign="top">SALARY</td>
<td width="110" valign="top">HIREDATE</td>
<td width="90" valign="top">DEPTID</td>
</tr>
<tr>
<td width="103" valign="top">101</td>
<td width="112" valign="top">Scott</td>
<td width="118" valign="top">Manager</td>
<td width="105" valign="top">12500</td>
<td width="110" valign="top">12-Jul-2010</td>
<td width="90" valign="top">200</td>
</tr>
<tr>
<td width="103" valign="top">102</td>
<td width="112" valign="top">Peter</td>
<td width="118" valign="top">Sales Executive</td>
<td width="105" valign="top">10000</td>
<td width="110" valign="top">08-Jul-2009</td>
<td width="90" valign="top">300</td>
</tr>
<tr>
<td width="103" valign="top">103</td>
<td width="112" valign="top">Matt</td>
<td width="118" valign="top">Secretary</td>
<td width="105" valign="top">5000</td>
<td width="110" valign="top">08-Jul-2009</td>
<td width="90" valign="top">200</td>
</tr>
<tr>
<td width="103" valign="top">104</td>
<td width="112" valign="top">Andrea</td>
<td width="118" valign="top">Receptionist</td>
<td width="105" valign="top">5000</td>
<td width="110" valign="top">08-Jul-2009</td>
<td width="90" valign="top">400</td>
</tr>
<tr>
<td width="103" valign="top">105</td>
<td width="112" valign="top">Roma</td>
<td width="118" valign="top">Receptionist</td>
<td width="105" valign="top">6500</td>
<td width="110" valign="top">25-Feb-2010</td>
<td width="90" valign="top">400</td>
</tr>
</tbody>
</table>
<p>The above displays the employee details of an organization. The table has a name, Employees. (It is recommended that while creating the table names, the name should be plural). Each column in the table has a column name such as EMPID, EMPNAME etc. Under each column, similar type of data is stored. Each row contains multiple details of a single entity.</p>
<p>Let us see another table called Departments below. Instead of including the department details of each employee in the same employee table, another table is created to store those. We can see that there is a relation exists between each table in the form of EMPID and DEPTID by which each row of these tables corresponds to each other. And this is how a relational database management systems records data. (The table structure here only for illustration purpose, more about creating a table in correct way will be discussed later).</p>
<p><strong>Department</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="160" valign="top">DEPTID</td>
<td width="160" valign="top">DEPT</td>
<td width="160" valign="top">LOCATION</td>
<td width="160" valign="top">EMPID</td>
</tr>
<tr>
<td width="160" valign="top">200</td>
<td width="160" valign="top">Administration</td>
<td width="160" valign="top">Texas</td>
<td width="160" valign="top">101</td>
</tr>
<tr>
<td width="160" valign="top">300</td>
<td width="160" valign="top">Sales</td>
<td width="160" valign="top">Texas</td>
<td width="160" valign="top">102</td>
</tr>
<tr>
<td width="160" valign="top">200</td>
<td width="160" valign="top">Administration</td>
<td width="160" valign="top">Texas</td>
<td width="160" valign="top">103</td>
</tr>
<tr>
<td width="160" valign="top">400</td>
<td width="160" valign="top">Reception</td>
<td width="160" valign="top">Seattle</td>
<td width="160" valign="top">104</td>
</tr>
<tr>
<td width="160" valign="top">400</td>
<td width="160" valign="top">Reception</td>
<td width="160" valign="top">Seattle</td>
<td width="160" valign="top">105</td>
</tr>
</tbody>
</table>
<p><strong> </strong></p>
<p>The data in the above tables can anytime be queried, manipulated by a database query language. Before we start with the database query language, let us analyze some aspects and foundation stones of database. We shall talk about the data types, character sets, operators, and oracle database specific items.</p>
<p>In a typical database, we store different kinds of data in the form of numbers, alphabets, pictures, movie files etc. When you create a table or cluster, you must specify a data type for the columns accordingly.</p>
<p>Oracle Database provides a number of built-in data types as well as several categories of user-defined types that can be used as data types. A datatype can be either scalar or nonscalar. A scalar type contains an atomic value, whereas a non-scalar (sometimes called a &#8220;collection&#8221;) contains a set of values. A large object (LOB) is a special form of scalar datatype representing a large scalar value of binary or character data. LOBs are subject to some restrictions that do not affect other scalar types because of their size. The below table lists the most common datatypes used in oracle database.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319" valign="top"><strong>Datatype</strong></td>
<td width="319" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="319" valign="top">VARCHAR2(size [BYTE | CHAR])</td>
<td width="319" valign="top">Variable-length character string having maximum length size bytes or characters. Maximum size is 4000 bytes or characters, and minimum is 1 byte or 1 character. You must specify size for VARCHAR2.</p>
<p>BYTE indicates that the column will have byte length semantics;</p>
<p>CHAR indicates that the column will have character semantics</td>
</tr>
<tr>
<td width="319" valign="top">NVARCHAR2(size)</td>
<td width="319" valign="top">Variable-length Unicode character string having maximum length size characters. The number of bytes can be up to two times size for AL16UTF16 encoding and three times size for UTF8 encoding. Maximum size is determined by the national character set definition, with an upper limit of 4000 bytes. You must specify size for NVARCHAR2</td>
</tr>
<tr>
<td width="319" valign="top">NUMBER[(precision [, scale]])</td>
<td width="319" valign="top">Number having precision p and scale s. The precision p can range from 1 to 38. The scale s can range from -84 to 127.</td>
</tr>
<tr>
<td width="319" valign="top">LONG</td>
<td width="319" valign="top">Character data of variable length up to 2 gigabytes, or 231 -1 bytes. Provided for backward compatibility</td>
</tr>
<tr>
<td width="319" valign="top">DATE</td>
<td width="319" valign="top">Valid date range from January 1, 4712 BC to December 31, 9999 AD. The default format is determined explicitly by the NLS_ DATE_FORMAT parameter or implicitly by the NLS_TERRITORY</p>
<p>Parameter. The size is fixed at 7 bytes. This datatype contains the date time fields YEAR, MONTH, DAY, HOUR, MINUTE, and SECOND. It does not have fractional seconds or a time zone.</td>
</tr>
<tr>
<td width="319" valign="top">TIMESTAMP [(fractional_</p>
<p>seconds)]</td>
<td width="319" valign="top">Year, month, and day values of date, as well as hour, minute, and second values of time, where fractional_seconds_precision is the number of digits in the fractional part of the SECOND datetime field. Accepted values of fractional_seconds_precision are 0 to 9. The default is 6. The default format is determined explicitly by the NLS_DATE_FORMAT parameter or implicitly by the NLS_TERRITORY parameter. The</p>
<p>Sizes vary from 7 to 11 bytes, depending on the precision. This datatype contains the datetime fields YEAR, MONTH, DAY, HOUR, MINUTE, and SECOND. It contains fractional seconds but does</p>
<p>not have a time zone</td>
</tr>
<tr>
<td width="319" valign="top">CHAR [(size [BYTE | CHAR])]</td>
<td width="319" valign="top">Fixed-length character data of length size bytes. Maximum size is 2000 bytes or characters. Default and minimum size is 1 byte. BYTE and CHAR have the same semantics as for VARCHAR2</td>
</tr>
<tr>
<td width="319" valign="top">NCHAR[(size)]</td>
<td width="319" valign="top">Fixed-length character data of length size characters. The number of bytes can be up to two times size for AL16UTF16 encoding and three times size for UTF8 encoding. Maximum size is determined by the national character set definition, with an upper limit of 2000 bytes. Default and minimum size is 1 character</td>
</tr>
</tbody>
</table>
<p>Oracle database also has supplied datatypes for advanced uses. Some of them are CLOB, NCLOB, BFILE, BLOB, RAW, ROWID, LONG RAW, BOOLEAN, EXCEPTION, BINARY FLOAT, BINARY DOUBLE, INTERVAL etc&#8230; We will go through each of them in later sessions.</p>
<p>The data types are classified into two:</p>
<p>Character datatype which is used to store character based data</p>
<p>Non-character datatypes which is used to stored number form of data.</p>
<p>In the above tables, we see that each column has its own specific data types. The first column EMPID stores only numbers and therefore NUMBER datatype is used and it allows only numbers to be stored. The second column EMPNAME stores characters, therefore VARCHAR2 datatype is stored which allows alphanumeric characters to be stored. HIREDATE uses DATE datatype and only date format is allowed. Each column has a specification in the form of how many characters can be accommodated maximum.</p>
<p>Next lesion, we will discuss about the database query language which is known as Structured Query Language (SQL).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.binbert.com/blog/2010/07/plsql-fundamentals/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>We are living at the edge of Technologies</title>
		<link>http://www.binbert.com/blog/2010/05/we-are-living-at-the-edge-of-technologies/</link>
		<comments>http://www.binbert.com/blog/2010/05/we-are-living-at-the-edge-of-technologies/#comments</comments>
		<pubDate>Sat, 22 May 2010 18:21:42 +0000</pubDate>
		<dc:creator>Bineesh Antony</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.binbert.com/blog/?p=585</guid>
		<description><![CDATA[We are living at the edge of Technologies. We cannot even imagine the life without computers, softwares and internet in the present life. From students through the formally illiterate individuals till the cutting edge technologists has the use of computers in their daily life in one way or the other.  So technology is a must [...]]]></description>
			<content:encoded><![CDATA[<p>We are living at the edge of Technologies. We cannot even imagine the life without computers, softwares and internet in the present life. From students through the formally illiterate individuals till the cutting edge technologists has the use of computers in their daily life in one way or the other.  So technology is a must for every individual and the following lessons we will go through some programming technologies which will help technology aspirants to improve their knowledge and skills. In a few following chapter, we are going to learn about Oracle programming using SQL and PL/SQL. Before all we start, let us go some time behind and see how computer and technology originated.<br />
The history of the modern computer begins with two separate technologies, automated calculation and programmability because of the lack of a consistent application on that time. Informally, the first mechanical calculating device called Abacus was termed as the first computer device made.<br />
The &#8220;castle clock&#8221;, an astronomical clock invented by Al-Jazari in 1206, is considered to be the earliest programmable analog computer.  It displayed the zodiac, the solar and lunar orbits, a crescent moon-shaped pointer travelling across a gateway causing automatic doors to open every hour, and five robotic musicians who played music when struck by levers operated by a camshaft attached to a water wheel. The length of day and night could be re-programmed to compensate for the changing lengths of day and night throughout the year.<br />
In 1837, Charles Babbage was the first to conceptualize and design a fully programmable mechanical computer, and was known as analytical engine. In the late 1880s, Herman Hollerith invented the recording of data on a machine readable medium. Large-scale automated data processing of punched cards was performed for the 1890 United States Census by Hollerith&#8217;s company, which later became the core of IBM. Alan Turing is widely regarded to be the father of modern computer science. In 1936 Turing provided an influential formalization of the concept of the algorithm and computation.<br />
George Stibitz is internationally recognized as a father of the modern digital computer. While working at Bell Labs in November 1937, Stibitz invented and built a relay-based calculator he dubbed the &#8220;Model K&#8221; which was the first to use binary circuits to perform an arithmetic operation. EDSAC  (Electronic Delay Storage Automatic Calculator) was one of the first computers to implement the stored program architecture. The U.S. Army&#8217;s Ballistic Research Laboratory ENIAC (1946), which used decimal arithmetic and is sometimes called the first general purpose electronic computer. With the invention of microprocessors, the computer technology witnessed a huge change and it resulted in most compact computers. In the mid age of 1980s, computers became so common and became a part of our daily life.</p>
<p>Next Session will discuss about software and programming technologies.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.binbert.com/blog/2010/05/we-are-living-at-the-edge-of-technologies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Microsoft SQL Server Express 2008 It is free</title>
		<link>http://www.binbert.com/blog/2008/12/use-microsoft-sql-server-express-2008-it-s-free/</link>
		<comments>http://www.binbert.com/blog/2008/12/use-microsoft-sql-server-express-2008-it-s-free/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 08:09:32 +0000</pubDate>
		<dc:creator>Albin Sebastian</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://binbert.com/blog/?p=5</guid>
		<description><![CDATA[
Microsoft SQL Server Express Is a freely downloadable and distributable product from Microsoft. It is a light weight version of SQL server. SQL Server Express includes powerful features such as SQL Server Management Studio Express, for easily managing a database.
It is mainly for developers, embedded and smaller-scale applications,  You can Create databases up to 4 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-6 alignleft" title="SQL server express 2008" src="http://binbert.com/blog/wp-content/uploads/2008/12/sql-server-express-2008.jpg" alt="SQL server express 2008" width="321" height="63" /></p>
<p>Microsoft SQL Server Express Is a freely downloadable and distributable product from Microsoft. It is a light weight version of SQL server. SQL Server Express includes powerful features such as SQL Server Management Studio Express, for easily managing a database.</p>
<p>It is mainly for developers, embedded and smaller-scale applications,  You can Create databases up to 4 GB in size. Also there is a hardware utilization limit, we can use only Single physical CPU (multiple cores) and it is only use 1Gb Ram even if you have more than 1GM RAM in your server.  SQL server Express with full compatibility so that you can Transfer any database created in SQL Express to other editions of SQL Server 2008. It is offering high data security for the databases.</p>
<p>Try it Today : <a href="http://www.microsoft.com/express/sql/register">Download SQL Server Express 2008. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.binbert.com/blog/2008/12/use-microsoft-sql-server-express-2008-it-s-free/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
