Tuesday, 25 October 2011
Friday, 21 October 2011
Comparing date in SQLServer
DATEDIFF(DAY, START_DATE, END_DATE) = 0
AND
DATEDIFF(MONTH, START_DATE, END_DATE) = 0
AND
DATEDIFF(YEAR, START_DATE, END_DATE) = 0
AND
DATEDIFF(MONTH, START_DATE, END_DATE) = 0
AND
DATEDIFF(YEAR, START_DATE, END_DATE) = 0
Adding a Date to a date in SQL Server
DATEADD(DAY, No of days to add, date_to_which_days_are_added)
Example:
DATEADD(DAY, 1, START_DATE)
Example:
DATEADD(DAY, 1, START_DATE)
Subscribe to:
Posts (Atom)
Using Handlebar Prompt in Semantic Kernal
> dotnet add package Microsoft.SemanticKernel.PromptTemplates.Handlebars --version 1.30.0 using Microsoft . SemanticKernel ; using Micr...
-
LINK: http://www.techonthenet.com/oracle/functions/nvl.php Oracle/PLSQL: NVL Function In Oracle/PLSQL, the NVL function l...
-
Setting up a MPI cluster on Ubuntu involves the following steps: 1. Install OpenMPI on all machines. $sudo apt-get install libopenmpi-de...
-
If you get the following error message when you are trying to commit code from Visual Studio Code to GitHub Repo. The following is an easy f...