Home > Database (Page 3)

Simple way to generate connection string from text file

Common issue generally every developer faces in his initial days of development is how to generate connection string that connects my application to the database. Especially when we don't have sql management studio installed or if we are facing licensing issues.Well, a text file can come to a rescue.  To overcome such

This Article is TAGGED in , , , , , , . Read more

Temp Table, Table Variable and CTE. When to use what

As a layman or a novice, when we come across the concept of local temporary tables, global temporary tables, table variables or common table expressions; we tend to think that they function similarly i.e. they all store data in them in a tabular format. So whats the difference in them

This Article is TAGGED in , , , , , , , , , . Read more

Why Database testing is required

Why Front-end application testers should also know the basic Database testing in order to better test the applications:-What is Database TestingIn Database testing we validate:-Exactly the same data that is in database is retrieved by web or desktop application (front-end applications).The data which is inserted/modified from front-end application the same

This Article is TAGGED in . Read more

SQL SERVER – List all the database

EXEC sp_databasesEXEC sp_helpdb ----SQL 2000 Method still works in SQL Server 2005SELECT nameFROM sys.databasesSELECT nameFROM sys.sysdatabases ----SQL SERVER Un-Documented ProcedureEXEC sp_msForEachDB 'PRINT ''?'''

This Article is TAGGED in , , , , . Read more

How to get notification from database when any transaction on records?

Technologies Used: Visual Studio 2013 Express Sql Server 2008 R2 Express MVC 5 Nuget SqlDependency MSDN SignalR 2.0.1 Nuget Jquery 2.0.3 Nuget Toast Notifications Script to Create Broker & Service: create a user called "GeneralUser" with a password of "dbpassword" in your SQl Server logins. Run the following script in a Sql query pane, to create a message broker\service for

This Article is TAGGED in , , , , , , . Read more