Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Jean Paul
satyapriyanayak
Narayanan
Karthikeyan Anbarasan
JQuery Developer
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Post New Question
Subscribe to Interview Questions
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
Interview Questions And Answers
Which query will give the collation type for the specified database 'MyDatabase'?
Author:
Sajid P K
Posted Date: November 30, 2010 Category:
Sql Server
Points: 10
SELECT CONVERT(char, DATABASEPROPERTYEX('MyDatabase','collation'))
Can the secondary files in a database be taken offline? (Starting with SQL Server 2005 Enterprise Edition)
Yes or No ?
Author:
Sajid P K
Posted Date: November 30, 2010 Category:
Sql Server
Points: 10
YES
What are the different type of objects fetched by the sp_tables catalog stored procedure?
Author:
Sajid P K
Posted Date: November 30, 2010 Category:
Sql Server
Points: 10
This catalog SP returns objects of type: Tables and Views. This includes system tables as well.
What is DataContract and ServiceContract?Explain
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
WCF
Points: 10
Data represented by creating DataContract which expose the
data which will be transefered /consumend from the serive
to its clients.
**Operations which is the functions provided by this
service.
To write an operation on WCF,you have to write it as an
interface,This interface contains the "Signature" of the
methods tagged by ServiceContract attribute,and all methods
signature will be impelemtned on this interface tagged with
OperationContract attribute.
and to implement these serivce contract you have to create
a class which implement the interface and the actual
implementation will be on that class.
Code Below show How to create a Service Contract:
[ServiceContract]
Public Interface IEmpOperations
{
[OperationContract]
Decimal Get EmpSal(int EmpId);
}
Class MyEmp: IEmpOperations
{
Decimal Get EmpSal()
{
// Implementation of this method.
}
}
Hope now you can differentiate between Data
Contract,Service Contract and OperationContract.
What is other use of Go statement in TSQL?
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
Sql Server
Points: 10
I will explain you this with an Example.
CREATE TABLE dbo.TEST (ID INT IDENTITY (1,1), ROWID uniqueidentifier)
GO
INSERT INTO dbo.TEST (ROWID) VALUES (NEWID())
GO 1000
Note Second Go 1000. This will insert 1000 row to table test.
what is the difference between primary key and foreign key?
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
Sql Server
Points: 10
A primary key is a column which uniquely identifies the
records in a table. In a broad sense, a primary key is the
mixture of a unique key and an index: A collumn with a primary
key is indexed to deliver a faster query, and doesn't allow
duplicate values to ensure specific data.
A foreign key is a column (the child collumn) in a table which
has a corresponding relationship and a dependency on another
collumn (the parent collumn) that is usually in a different
table. Parent collumns can have multiple child collumns, but a
child collumn can only have one parent collumn.
Primary key does't allow null value
while foreign key allow null value
What is other use of Go statement in TSQL?
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
Sql Server
Points: 10
I will explain you this with an Example.
CREATE TABLE dbo.TEST (ID INT IDENTITY (1,1), ROWID uniqueidentifier)
GO
INSERT INTO dbo.TEST (ROWID) VALUES (NEWID())
GO 1000
Note Second Go 1000. This will insert 1000 row to table test.
Difference between MS CRM 3.0 and MS CRM 4.0?
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
Others
Points: 10
The metadata API service has been extended to retrieve language information in MSCRM4.0.
Multiple organizations can now be hosted and WSDL APIs are now unique per organization in MSCRM4.0.
Plug-ins (callouts) and workflow now use the same event framework, allowing for even more extensibility.
The SDK has been expanded to include offline access.
Now we can programmatically create, read, update and delete the metadata such as entities, attributes and relationship.
There are three services instead of two which we used to have in previous version
Many to Many Relationship was not available in MSCRM3.0
Multicurrency feature was not available in MSCRM3.0
What is other use of Go statement in TSQL?
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
Sql Server
Points: 10
I will explain you this with an Example.
CREATE TABLE dbo.TEST (ID INT IDENTITY (1,1), ROWID uniqueidentifier)
GO
INSERT INTO dbo.TEST (ROWID) VALUES (NEWID())
GO 1000
Note Second Go 1000. This will insert 1000 row to table test.
What is other use of Go statement in TSQL?
Author:
Sajid P K
Posted Date: November 26, 2010 Category:
Sql Server
Points: 10
I will explain you this with an Example.
CREATE TABLE dbo.TEST (ID INT IDENTITY (1,1), ROWID uniqueidentifier)
GO
INSERT INTO dbo.TEST (ROWID) VALUES (NEWID())
GO 1000
Note Second Go 1000. This will insert 1000 row to table test.
« Previous
1
2
3
Next »
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend