.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

How is the data structure of System R different from the relational structure?

Posted By :Shashi Ray     Posted Date :October 23, 2008    Points :10   Category :Sql Server 
Unlike Relational systems in System R
1.Domains are not supported
2.Enforcement of candidate key uniqueness is optional
3.Enforcement of entity integrity is optional
4.Referential integrity is not enforced

You can also find related Interview Question to How is the data structure of System R different from the relational structure?  below: 

What is data structure?

  
A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data. (More...)

Which is the suitable and efficient data structure to create a tree?

  
Linked list is the suitable and efficient data structure to create a tree. It will provide more flexibility. (More...)

You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

  
Use Stack.

If you use Stack, we can just get the next slot by using stack.Pop()

If you use List, we have to iterate through all list and check the status and retrieve.

So stack would be advantageous. (More...)

What command is used to create a table by copying the structure of another table?

  
CREATE TABLE .. AS SELECT command

Explanation :

To copy only the structure, the WHERE clause of the SELECT command should contain a FALSE statement as in the following.
CREATE TABLE NEWTABLE AS SELECT * FROM EXISTINGTABLE WHERE 1=2;
If the WHERE condition is true, then all the rows or rows satisfying the condition will be copied to the new table. (More...)

What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"?

  
When you compiles a program using command line, u add the references using /r switch. When you compile a program using Visual Studio, it adds those references to our assembly, which are added using "Add Reference" dialog box. While "using" statement facilitates us to use classes without using their fully qualified names.

For example: if u have added a reference to "System.Data.SqlClient" using "Add Reference" dialog box then u can use SqlConnection class like this:

System.Data.SqlClient.SqlConnection

But if u add a "using System.Data.SqlClient" statement at the start of ur code then u can directly use SqlConnection class.

On the other hand if u add a reference using "using System.Data.SqlClient" statement, but don't add it using "Add Reference" dialog box, Visual Studio will give error message while we compile the program. (More...)

Name the classes that are contained in System.Data NameSpace?

  
DataSet
DataTable
DataColumn
DataRow
DataRealation
Constraint (More...)

Can you store multiple data types in System.Array?

  
No, If the System.Array is of Some Particular Data Type.(Primitive Data Type)

yes, If the System.Array is of Object Type.

Ex :

create an array of objects.

int in = 50;
string st = "Fifty";

object [] obj = new object[2];
obj[0] = in;
obj[1] = st; (More...)

Which command is used to create a table by copying the structure of another table?

  
CREATE TABLE .. AS SELECT command
Example:-
CREATE TABLE AS SELECT*FROM WHERE 1=2; (More...)

What is the use of System.Data.DLinq.dll?

  
System.Data.DLinq.dll provides functionality to work with LINQ to SQL. (More...)

When we should use structure?

  
When the values are very exact and needed very often structure should be used.
e.g. if there are only 3 attributes to care about a person (such as name, address, email id) then its better to use structure instead of class. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend