Sql Query for asp.net Programming
Sql Query for asp.net :
some time some sql Query is very important for
sql programmer and asp.net programmer .it is very easy but logical .in this post we describe some ,and thing its use full for
programming .
1 1 . ) Compare date in SQL data base to current date by sql query
select ManagementID, from [abc] where CONVERT(nvarchar(10),date,103)=convert(nvarchar(10),GETDATE(),103)
· 2. ) Get only date form SQL data base which is store in to date data type
·
Select convert(date,GETDATE(),103)as a
from [table name]
· 3 .) Select current date form sql
query
select convert(date,GETDATE(),103)as a
· 4 .) select current date time by
SQL Query
select GETDATE() as date
Asp.net Related Other Post:
- Cloud Service Provider
- Asp.net Label control
- Textbox Asp.net control
- Print pdf file in asp.net by C sharp
- SQL Server questions for interview
- Check box in ASP.NET GridView
- Ckeck box list example-using-javascript.
- Asp.net web api in asp.net programming
- How to achieve many selection in dropdownlist.
- Example of use of compare validator in asp.net.
- Find datetime difference in asp.net by C#
- Validation checkbox control using JavaScript
- Use of Viewstate in asp.net programming.
- How to add reference of dll file in asp.net.
- How to print div in asp.net programming
- Data base connection in asp.net in web Application
- Validate ASP.Net RadioButtonList using JavaScript Example
- Events in asp.net server controls how to handle in C#.
- Add rows in GridView dynamic with Textbox
- Asp.net Watermark Text on uploaded Image
- Asp.net NullReferenceException and how fix it
- State Management and type of State Management
- Cookies,how to make Cookies in asp.net with C#.
- Jquery Change div background on mouseover in asp.net
- In asp.net by jquery change div text color on mouseover
- Upload multiple by one asp.net fileupload control using jQuery
- Adding Dynamic Rows in ASP.Net GridView Control with Textbox
- In Asp.net Difference between ""(empty string) and String.Empty