Share Knowledge and improve knowledge
Wednesday, 6 May 2020
Convert Date in Numeric Format(Remove Separation) In SQL SERVER Query
Try this Query:
SELECT CONVERT(VARCHAR(10),CAST('2019-12-15 00:00:00.000' AS DATE),112) AS date1
Results:-
date1
20191215
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
redirect to new page from jquery
function foo(id) { var url = ' @Url . Action ( "Details" , "Branch" , new { id = "__id__" })'...
How to send http POST request from sql server stored procesdure
--This query enables ole automation procedures. set 0 to disable exec master.dbo.sp_configure 'Ole Automation Procedures', 1 REC...
How to control image shown error if the image not found on the location
I like to use this way, so that whenever original image is not available you can load your default image that may be your favorite smiley o...
Delete All Stored Procedure -from database in Sql server
DECLARE @spname sysname; DECLARE SPCursor CURSOR FOR SELECT SCHEMA_NAME(schema_id) + '.' + name FROM sys.objects WHERE ...
No comments:
Post a Comment