Find out how classes are defined and new instances are created, how to define Properties, and how to both set values and get values for a given instance of the class. A class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. A class is like a blueprint. It defines the data and behavior of a type. If the class is not declared as static, client code can use it by creating objects or instances which are assigned to a variable.
Find out how the Basic Monitoring via Web Console operates, and get an overview of deadlocks, failed connections, successful connections, and blocking by firewall. Review three categories of views: Database-Related, Execution-Related, and Transaction-Related.
Monitoring tools and techniques that you might be accustomed to using on an on-premises server, such as auditing logins, running traces, and using performance counters, are not available for SQL Database. On Azure, you use Data Management Views (DMVs) to monitor data capacity, query problems, and current connections.
Microsoft Azure SQL Database is a relational database-as-a-service that delivers predictable performance, scalability, business continuity, data protection, and near-zero administration to cloud developers and solution architects.
Microsoft Azure offers several choices for data storage. These include Azure storage and SQL Azure. You may choose to use one or both in your particular project. Azure storage currently contains three types of storage structures: tables, queues and blobs.
Abstract class provides a common definition of a base class that many derived classes can share.
The abstract keyword enables you to create classes and class members that are incomplete and must be implemented in a derived class.
- An abstract class cannot be instantiated.
- Derived classes of the abstract class must implement all abstract methods
Abstract class can be declared in C# using the keyword abstract as shown in the example below:
Batching operations can be very helpful in improving your performance and scalability for your in house application as well as cloud applications.
Here are some of the batching techniques available for you to consider:
Client side code based transactions can be simple and useful. Here is an example:
Everytime you open Visual Studio 2013 it does not run as a administrator by default, because of which you come across issues and errors which you don’t expect.
So how to set Visual Studio to open as Administrator by default without having to do it manually every time.
Here is how:
Right-click on the Short-cut icon for Visual Studio
Click on Properties
Goto the Shortcut Tab if you are not already there by default
Invalid prefix or suffix characters. (MS Visual Database Tools)
When you try to right-click on a table and Select Edit Top 200 rows in SQL Server 2008 R2 Management Studio you might get the above error and not allow you to edit the rows.
I see that there is an option to Edit the Top 200 rows in a Table, but how can I edit a particular row that I need.
This is a common requirement to be able to edit any particular row and not just the top 200 rows which is provided by default in SQL Server 2008, 2012 and forward.
What you need to do is.
Incorrect syntax near ':'.
SQLCMD mode must be enabled to successfully execute this script.
At times some of the SQL Scripts that you run might need the SQL Command Mode enabled to be able to execute successfully.
Its in such scenarios do you get the above Error which wants you to enable the SQLCMD mode.
Here is how you can enable the SQL CMD mode. In your SQL Server Management Studio
Drop failed for Database 'xxx'. (Microsoft.SqlServer.Smo) An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) Cannot drop database "xxx" because it is currently in use. (Microsoft SQL Server, Error: 3702)