Sie sind auf Seite 1von 3

installation process of visual studio propfessional:

===================================================
1.universal window platform development.
2. dot(.) net desktop development.
3.asp.net and web development.
4.node.js development
5.office /share development

-->two authentication mode in sql server they are


1.windows authentication server
2.mixed mode(sql server authentication and windows authentication)
--> in windows authentiaction mode no password is required.
-->in mixed mode authentication mode password is required given by user.

-->username is 'sa'
-->password is 'Kuchipud12345'.

folders under the server:


========================
1.databases.
2.security.
3.server objects.
4.replications.
4.management.

after create database in sqlserver:


===================================
folders inside database:
------------------------
1.database diagrams
2.tables
3.views
4.synonyms
5.programmability
6.service broker
7.storage
8.security

after created database:


----------------------
1.columns
2.keys
3.constraints
4.triggers
5.indexes
6.statistics

-->dbo is the default scheme in microsoft server 2012.

heicharchy of table:
=====================
1.server
2.database
3.scheme
4.table
-->by default what name is getting primary key constraint is 'pk_tablename'
-->from datbase point of view every table is considered as object

after create table query looks like this:


=========================================

CREATE TABLE [dbo].[stutable_1](


[sid] [int] NOT NULL,
[sname] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_stutable_1] PRIMARY KEY CLUSTERED
(
[sid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

-->primary key is a constraint


-->when ever showing an error it always contains Msg 2714, level 16,state 6, line1.
-->exactly like this
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near 'smarks'

insert query:
-------------

INSERT INTO [dbo].[stumarks_1]


([sid]
,[sname]
,[smarks])
VALUES
(<sid, int,>
,<sname, nvarchar(50),>
,<smarks, int,>)

select query:
-------------
SELECT TOP 1000 [sid]
,[sname]
,[smarks]
FROM [studb].[dbo].[stumarks_1]
-------------------------
|
|________________________
|

-->if we dont no the database then database name scheme name and table name.

categories of queries:
======================
http://www.informit.com/articles/article.aspx?p=29583&seqNum=3

update query:
=============
USE [studb]

UPDATE [dbo].[stumarks_1]
SET [sid] = <sid, int,>
,[sname] = <sname, nvarchar(50),>
,[smarks] = <smarks, int,>
WHERE <Search Conditions,,>

delete query;
===============
USE [studb]

DELETE FROM [dbo].[stumarks_1]


WHERE <Search Conditions,,>

-->solution name and application name are same in visual basics when it come to
save.
-->clr-command line interface

the following are the features of the clr:


===========================================
1.memory management
2.exception handling
3.code access security
4.thread execution
5.debugging
6.verfication & compilation

AJAX:
====
Asynchronous Javascript & Xml.

Das könnte Ihnen auch gefallen