-->
SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Querying Microsoft SQL Server

I am a technology enthusiast and software developer by profession. I am developing .Net/database based enterprise applications from past 3 years.

My skills includes C# ,ASP.NET,SQL Server 2008 and MVC . My areas of interests are database development and application software development using Microsoft Technologies.

Windows Azure random FAQs

1. What are IaaS, PaaS and SaaS?

Basically these are cloud service models for cloud offerings. These are categorized on the basis of cloud management of resources.
SaaS: In this web browsers are used to access the software.  In SaaS, all things are managed by cloud providers like infrastructure, data,…

Read more

0 comments, 216 reads

Posted in Querying Microsoft SQL Server on 12 June 2017

Redis cache implementation using C#

Redis cache implementation using C#


Read more

0 comments, 174 reads

Posted in Querying Microsoft SQL Server on 11 June 2017

Random Advance C# FAQs


  1.  Difference between const, readlonly and static readonly?
  2.  const: const variable value is set as constant value at compile time. it can not be changed.
     readonly: readonly value can be changed at run time using constructor. 
     static readonly: static readonly variables value only can be changed inside static

Read more

0 comments, 163 reads

Posted in Querying Microsoft SQL Server on 7 June 2017

Angular 2 FAQs

1. What is angular module?

NgModule helps to organize an application into organized blocks of functionality. @NgModule decorator takes metadata that tells angular how to compile and run the module code. A typical NgModule looks like.


Each application in angular 2 must have at least one NgModule that you need…

Read more

0 comments, 171 reads

Posted in Querying Microsoft SQL Server on 30 May 2017

Web API 2 Interview FAQs

Web API FAQs:

 

1.       What are the return types of Action methods in Web API?


a. Void:
     If the return type is void, Web API simply returns an empty HTTP response with  status code 204 (No Content).

b. HttpResponseMessage
Web API converts the return value…

Read more

0 comments, 178 reads

Posted in Querying Microsoft SQL Server on 27 May 2017

Value can not be null Parameter Name:store TFS WorkItem Store Error

Error HRESULT E_FAIL has been returned from a call to a COM component.

Description:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DataStoreNative.UpdateMetadata(IntPtr handle, Object rowset, String dbstamp, UInt32& changes)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.Datastore.UpdateMetadata(Object rowset, String dbstamp)
   at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.EndBackendCall(BackendCallData data)
 …

Read more

0 comments, 681 reads

Posted in Querying Microsoft SQL Server on 26 November 2015

Enable 32 bit Applications Azure Cloud Service Hosting automation

Enable 32 bit Applications Azure Cloud Service Hosting automation

Sometime dll issues occured on IIS based on 32-bit or 64-bit dlls.Error occured like below

Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader' or one of its dependencies. An attempt was made to load a program with an incorrect format.
If you…

Read more

1 comments, 599 reads

Posted in Querying Microsoft SQL Server on 17 November 2015

In Memory Optimized Table in SQL Server 2014


To increase performance of highly accessible tables, a new feature incorporated in Sql Server 2014 “In-Memory OLTP”.You can define a table that is accessed by large no of users at a time as “memory optimized”. Memory-optimized-tables are fully transactional, durable, and are accessed using T-SQL in…

Read more

0 comments, 6,805 reads

Posted in Querying Microsoft SQL Server on 11 April 2015

Top ADO.Net Interview and General FAQs

 1.       What is ADO.Net?

ADO.Net is set of components (classes) that are used to access data based on disconnected dataset and XML.It is advancement of classical ADO that is (Active Data Objects).ADO was tightly coupled client server system which was connected architecture. Unlike ADO, ADO.NET was built with…

Read more

0 comments, 899 reads

Posted in Querying Microsoft SQL Server on 4 September 2014

Iterating JSON data using Jquery



“JSON” (Javascript Object Notation) is Open standard to transmit data between endpoints. It is light weighted than XML, that’s why it is commonly used in web applications and distributed applications.Here I am describing an example to simply use JSON in your application and how to iterate JSON object if it…

Read more

0 comments, 1,792 reads

Posted in Querying Microsoft SQL Server on 3 July 2014

Top 50 .Net Framework Interview and General FAQs....


Q 1 What Is CLR? 

CLR is a runtime environment. Code that we develop with language compiler that targets the runtime is called managed code. Programmers write code in any .Net language, compile their programs into IL in a portable executable file that can then be managed and executed by…

Read more

0 comments, 1,123 reads

Posted in Querying Microsoft SQL Server on 16 April 2014

What is Program Database?

If you are working with .Net then you will be aware about PDB files.A PDB file is a Program Database,that is created during source code compilation.It stores information of program used by debugger like a list of all symbols in a module with their addresses and possibly the…

Read more

0 comments, 547 reads

Posted in Querying Microsoft SQL Server on 1 April 2014

Querying Linked Server without OPENQUERY

I already post an article how to setup Linked Server in SQL Server and querying on linked Server using open query. If you are not aware about this you can go through below link
Also you can create linked server object for SQL Server and…

Read more

0 comments, 57,069 reads

Posted in Querying Microsoft SQL Server on 14 February 2014

Wishing all visitors a very happy new year 2014




Wishing all visitors 

A Very Happy & Prosperous

 New Year 2014

 






Happy New Year! Thanks to visit queryinqsql.com.
Last year I started this Blog,and post  52 articles,scripts,basics of SQL Server that are based on SQL Server 2008.I hope  some of these articles were very helpful for you. In…

Read more

1 comments, 988 reads

Posted in Querying Microsoft SQL Server on 30 December 2013

Understanding SQL Server related Windows Registries

SQL Server related information from Windows registries


The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components and for applications running on the platform that have opted to use…

Read more

0 comments, 1,477 reads

Posted in Querying Microsoft SQL Server on 30 November 2013

9 points before backing up SQL Server databases

Backing up SQL Server Databases


 Backing up your SQL Server database is essential for protecting your data. The word Backup refers to “Copies the data or log records from a SQL Server database or its transaction log to a backup device, such as a disk, to create a data…

Read more

3 comments, 2,482 reads

Posted in Querying Microsoft SQL Server on 23 November 2013

Querying Microsoft SQL Server: T-SQL

Querying Microsoft SQL Server: T-SQL: T -SQL is advancement of SQL. It  include    procedural  programming,  local variables , various support functions for string processing, d...

Read more

0 comments, 856 reads

Posted in Querying Microsoft SQL Server on 14 November 2013

Interview FAQ on Interface in C#

What is Interface?

 An interface is collection of methods, properties, indexers and events with only signatures. Means In interface Methods, properties, indexers and events do not have their definition. So an Interface allows you to define behavioral characteristics and apply those behaviours to Class that implements this Interface. Example

Read more

0 comments, 1,371 reads

Posted in Querying Microsoft SQL Server on 29 October 2013

SQL Server Inetrview FAQ 3

1.       How to find the maximum no of connection allowed in SQL Server?

 Select @@MAX_Connections

2.       How to select top 2 rows without using top?

 It can be achieved by using rowcount. For example
SET ROWCOUNT2
SELECT *fromtblName

3.       What is the purpose of…

Read more

1 comments, 855 reads

Posted in Querying Microsoft SQL Server on 24 October 2013

Cumulative SUM in SQL Server


Sometimes we need to find sum of first and next row in cumulative way.

Create table and insert data:

CREATE TABLE [dbo].[testsum](
      [name] [varchar](10) NULL,
      [val] [int] NULL,
      [ID] [int] NULL
) ON [PRIMARY]

insert into [testsum] (id,name,val)
values(1,'A',10),
(2,'B',20),
(3,'C',30)

Required Output:
ID    name  val   cumSum
1     A     10   …

Read more

9 comments, 27,278 reads

Posted in Querying Microsoft SQL Server on 19 October 2013

Older posts