Author Archives: Mandeep Singh

How to create a database in sql server with Tsql

How to create a database in sql server with Tsql In this post we learn How to create a database in sql server with Tsql. In this script we define where to place files(MDF,LDF) about their size and auto-growth of the database file size.And also in which file-group the file should be placed. Script:- create database test onprimary( name=N’test’, filename=N’C:\Program

How to create a alert box in html through javascript

How to create a alert box in html through javascript In html through javascript you can also use alert message by the sample code present below.It is easy to use and also easy to edit. Code:- <html> <head> <script type="text/javascript"> function alert() { alert("Hightechnology!"); } </script> </head> <body> <input type="button" onclick="alert()" value="Hightechnology" /> </body> </html>

How to Show Date on button click through Javascript

Here is a example how to show the date when you click on the button through a javascript. Code:- <html> <head> <script type=”text/javascript”> function displayDate() { document.getElementById(“hightech”).innerHTML=Date(); } </script> </head> <body> <h1>My First Web Page</h1> <p id=”hightech”>Hightechnology.</p> <button type=”button” onclick=”displayDate()”>Display Date</button> </body> </html> Change accoding to your requirement.

How to Configure Database Mail in SQL Server

How to Configure Database Mail in SQL Server In this tutorial we will guide you How to Configure Database Mail in SQL Server.Before Microsoft has introduced SQL Server  2005 to database administrators and database developers, administrators and programmers were suffering in their applications just because of the lack of SMTP email support in their SQL