-->
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.

Generic Modifier In & Out C#

In [Contravariant]

The image is self-explanatory.


Out [Covarient]

The image is self-explanatory.


Read more

0 comments, 199 reads

Posted in Querying Microsoft SQL Server on 15 October 2018

Reduce your Azure Development Subscription Cost


Azure VMs

Usually you should convey to developers and testers to shut down the VMs manually when they are not using non production virtual machines. Also there some ways to automatic shutdown the VMs like you can create and schedule a script to start and shutdown VMs based on use…

Read more

0 comments, 146 reads

Posted in Querying Microsoft SQL Server on 11 September 2018

Generic error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'isLoading: [object Object]'. Current value: 'isLoading: true'

Error: Generic error:  ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'isLoading: [object Object]'. Current value: 'isLoading: true'

Resolution:

setTimeout the code that is setting the value. In my case, it was ngRX store dispatch action so I have changed action like below.

It was like below =>

Read more

0 comments, 529 reads

Posted in Querying Microsoft SQL Server on 17 August 2018

Azure data centers and Regions: How to pick a best azure region.

Azure data centers and Regions:


Azure data centers are located worldwide and a team/division MCIO (Microsoft Cloud Infrastructure and Operations) manages all the data centers and its operations. Microsoft divided all the data centers into several regions called “Azure Regions” based on geographic locations. Currently Azure…

Read more

0 comments, 1,208 reads

Posted in Querying Microsoft SQL Server on 24 November 2017

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, 749 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, 1,009 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, 338 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, 567 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, 885 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, 1,313 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, 1,086 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, 7,555 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, 1,235 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, 2,380 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,467 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, 705 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, 69,308 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, 1,451 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, 2,039 reads

Posted in Querying Microsoft SQL Server on 30 November 2013

Older posts