Programming Stuff


Programming Tips, Source Codes, Interview Questions, FAQs
 
HomePortalCalendarGalleryFAQSearchRegisterMemberlistUsergroupsLog in

Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Compra Viagra. acquisto viagra generico
Thu Aug 04, 2011 12:11 pm by Guest

» Acquistare Viagra. farmacodinamica viagra generico
Thu Aug 04, 2011 6:23 am by Guest

» noclegi lublin umcs
Thu Aug 04, 2011 1:11 am by Guest

» Viagra Generico. viagra generico usato
Wed Aug 03, 2011 11:25 pm by Guest

» kwatery dabki
Wed Aug 03, 2011 4:20 am by Guest

» noclegi rowy sloneczna
Mon Aug 01, 2011 5:24 am by Guest

» drewniane domki letniskowe nad morzem
Sun Jul 31, 2011 4:16 am by Guest

» miedzyzdroje kwatery
Sat Jul 30, 2011 11:42 pm by Guest

» morze noclegi z basenem
Sat Jul 30, 2011 3:22 am by Guest

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Search
 
 

Display results as :
 
Rechercher Advanced Search
10 Useful Queries - SQL Server 2005
Sun Mar 16, 2008 3:32 am by Admin
10 Useful Queries - SQL Server 2005

1. To get all the Details of Primary Keys, Foreign Keys, Stored Procedures, TRIGGERS, Tables, Views Present in a Database:

SP_HELP [ OR ]

select name,xtype from sysobjects order by xtype


2. To Display all the System Tables, System Views, User Created Tables and User Created Views.

SP_TABLES


3. To get the List of All Triggers Applied on a …[/OR]

[ Full reading ]
Comments: 0
SQL INT QUESTIONS
Tue Dec 25, 2007 5:46 pm by Admin
1. What’s the difference between a primary key and a unique key?

Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is that, primary key doesn’t allow NULLs, but unique key allows one NULL only.

2. Write a …

[ Full reading ]
Comments: 0
Contd 3...
Sun Dec 23, 2007 6:18 pm by Admin
How to rebuild Master Database?
Shutdown Microsoft SQL Server 2000, and then run Rebuildm.exe. This is located in the Program Files\Microsoft SQL Server\80\Tools\Binn directory.
In the Rebuild Master dialog box, click Browse.
In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact disc or in the shared network directory from which SQL Server 2000 was …

[ Full reading ]
Comments: 0
Contd 2...
Sun Dec 23, 2007 6:17 pm by Admin
What are the authentication modes in SQL Server? How can it be changed?
Windows mode and mixed mode (SQL & Windows).

To change authentication mode in SQL Server click Start, Programs, and Microsoft SQL Server and click SQL Enterprise Manager to run SQL Enterprise Manager from the Microsoft SQL Server program group. Select the server then from the Tools menu select SQL Server Configuration …

[ Full reading ]
Comments: 0
Cont...
Sun Dec 23, 2007 6:15 pm by Admin
What is Collation?
Collation refers to a set of rules that determine how data is sorted and compared. Character data is sorted using rules that define the correct character sequence, with options for specifying case-sensitivity, accent marks, kana character types and character width.

What are different types of Collation Sensitivity?
Case sensitivity
A and a, B and b, etc.

Accent …

[ Full reading ]
Comments: 0
SQL Interview questions
Sun Dec 23, 2007 6:13 pm by Admin
What is RDBMS?
Relational Data Base Management Systems (RDBMS) are database management systems that maintain data records and indices in tables. Relationships may be created and maintained across and among the data and tables. In a relational database, relationships between data items are expressed by means of tables. Interdependencies among these tables are expressed by data values rather than …

[ Full reading ]
Comments: 0
Ways to improve SQL Server Performance
Sun Dec 23, 2007 5:30 pm by Admin
Ways to improve SQL performance

1. Normalizing:

Normalize your table’s schema in such a way that all tables are reduced in columns and are related to other table with some reference.

That will improve performance while you are fetching data from tables that will also reduce the fetching of redundant data.



2. Define Primary and Foreign keys:

Make relation of your table in such …

[ Full reading ]
Comments: 0
Poll
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 5 on Mon Dec 24, 2007 10:47 am
Statistics
We have 13 registered users
The newest registered user is ngmmadhan

Our users have posted a total of 48 messages in 45 subjects