Tuesday, August 3, 2010

Small Steps in SQL

Hello Friends,

We will learn here basics and structures in SQL Server. Before going to understand SQL Server, we have to know what is Database.

Database is storing organized collection of data based on a relationship. You may ask how you found a relation ship in the data, Consider below example. i had below data with me

Employee number: 45
DOJ : 12/12/1998
Sal: 12300
Deptno :4

Student Number: 34
DOJ: 13/12/2002
Course: ASM
FeePaid: 1200
Total Fee: 1500
Department: 6

Employee number: 5 4
DOJ : 12/1/2005
Sal: 22000
Deptno :1

Student Number: 12
DOJ: 13/12/07
Course: c++
FeePaid: 1200
Total Fee: 2500
Department: 2

From the Below data we came to know that there are two sets of data available to us (i.e. Employee, Student), we can organize this data into two Relations (i.e. Employee,Student) . We can identify the uniqueness data in each relation using relation key (i.e EmployeeNo,StudentNo).

Each relation we will called as a Table.

So, now we understand that the data in a single table will bound with a relation. This is called Relational Database management System (RDBMS). We use SQL (Structured Query Language) to manage the database.

In order to store the data, First we have to create the Relations/Tables. To manage the definitions of these relations we need to do below operations

1) Create Table
2) Alter/Change Table
3) Drop Table

Syntax for Create table in SQL: http://msdn.microsoft.com/en-us/library/aa258255%28SQL.80%29.aspx

Syntax for AlterTable in SQL: http://msdn.microsoft.com/en-us/library/aa275462%28v=SQL.80%29.aspx

Syntax for Drop Table in SQL : http://msdn.microsoft.com/en-us/library/aa258841%28v=SQL.80%29.aspx


Once you create table as per your data structures based on your sample data, You need to enter the data into data base and manage the data in database.

For data management, We need to do below operations

1) Insert data into database
2) Get/Select the data from DB
3) Update the data in DB
4) Delete the data from DB

These operations are common to manage the data in database.

Basic Syntax for Insert : http://msdn.microsoft.com/en-us/library/aa933206%28SQL.80%29.aspx

Basic Syntax for Select the data : http://msdn.microsoft.com/en-us/library/aa259187%28v=SQL.80%29.aspx

Basic Syntax for Update the data : http://msdn.microsoft.com/en-us/library/aa260662%28v=SQL.80%29.aspx

Basic Syntax for Delete the data: http://msdn.microsoft.com/en-us/library/aa258847%28v=SQL.80%29.aspx

We will learning some middle level data management quires in SQL in next sessions. Try to create some sample tables and insert the sample data into them.

Regards
Praveen

Monday, November 2, 2009

Hi All,

Now it's time to get some Techi Cookies.

Windows Share Point Services (WSS) and MOSS 2007 (Microsoft Office Sharepoint Services).

Basics:

1) What is SharePoint?
Ans) SharePoint us a .Net based Technology that can be used to create dynamic and secured websites using pre-defined or user created site templates.

2) How we can store the data on Share Point?
Ans) Sites allow the users to store the information in "Tabular Format" using list storage structures(i.e. on data base) or "File Share"(i.e. data stored in the form of files using library storage structure).

3) Is share point is Product or Technology?
Ans) Share point is a set of products and technology.

Products :
  • WSS (Windows Share Point Services) a free windows server component
  • MOSS (Microsoft Share point services) is a paid component for windows server included on Office suite.
  • Sharepoint Designer 2007 is free component and can be downloaded through http://www.microsoft.com/spd and it includes comprehensive Site design tools and Customization Tools
4) What is different between WSS and MOSS?
Ans) WSS includes basic share point server components which is used to design a basic sites and configure the sites. WSS come along with Windows server 2003. Microsoft decided to provide Microsoft sharepoint designer 2007 for free, which enabled the users to design a different site templates and sites.

MOSS includes various tools which enables the users to design complex sites and provide extensive support to develop web based solutions. MOSS backed up with technology like ASP.net and C#. It also include enterprise level search capabilities. MOSS is most powerful product (also includes the technology) to develop and design the WEB PORTALS.

Thursday, January 22, 2009

Regarding Satyam..

Hi All,I am a employee of SATYAM. Hope everyone enough information about the company. But no one might not have justifications for the news. As a employee I can share few words, If a man an injury defiantly there will be blood loss and some kind of strength will be lost. But you can’t tell that the person has died. The same we had some kind damage for the brand but it not mean that SATYAM is no more. We are strong number of IT professionals still having faith on the company and many clients still stick with SATYAM. To company get survival these factors should be alive and now we had it. So we can recover this situation soon. I have seen many of the people showing sympathy on employees, Thanks for this but we need more than that (i.e. Encouragement and your support from your words). If one do the mistake (note: i am not sure whether Ram has did a mistake or not) the people will not lose the process.

Hope every thing will be get back to normal soon...

Tuesday, October 7, 2008

My First Post

Hi All,

Welcome to my fisrt Blog. This whare i am going to share my knowledge with you all. Thanks for vising my BLOG.

Regards
Praveen