Viewing 15 posts - 916 through 930 (of 2,452 total)
Luis Cazares (1/29/2016)
Maybe this:
DECLARE @date varchar(10) = '14-Apr'
SELECT CONVERT(datetime, '01 ' + RIGHT(@date,3) + ' ' + LEFT(@date,2), 6)
Hi Luis......why not just use this instead??
SELECT CONVERT(datetime, '20'+@date)
??
also,I believe that...
January 29, 2016 at 12:26 pm
not free for 2012 and above, but does include a lot of functionality beyond refactoring.......not overly expensive and has a free 60 day / 1pc trial
maybe worth a look
January 29, 2016 at 10:21 am
not sure but maybe?
SELECT TRY_CONVERT(datetime, '20'+'14-Apr') AS Result;
January 29, 2016 at 10:04 am
TEJABI (1/29/2016)
insert into Username select 'Abhas' ,'Jadhav'
Union
select 'Ashwin' ,'Jadhav'
UNION
select 'Akash','Jadhav'
UNION
select 'Bbhas' ,'Jadhav'
Union
select 'Bshwin' ,'Jadhav'
UNION
select 'Bkash','Jadhav'
with cte as
(
select newid () sysid ,(SUBSTRING(FirstName,1,1)) firstname...
January 29, 2016 at 9:46 am
Jeff Moden (1/29/2016)
J Livingston SQL (1/29/2016)
http://www.apexsql.com/sql_tools_refactor.aspxHeh... just select the "obfuscation" method and you're done. 😛
hehe....had never used it, til now.........cant see the point
original
CREATE TABLE mytable(
TranID ...
January 29, 2016 at 8:46 am
Shabbaranks (1/29/2016)
January 29, 2016 at 8:37 am
January 29, 2016 at 7:54 am
patla4u (1/29/2016)
Thank you.
you are welcome, but please next time, heed the advice in this post http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
January 29, 2016 at 7:44 am
maybe ?
SELECT t_item,
t_cwar,
MIN(t_trdt),
MAX(t_trdt),
...
January 29, 2016 at 7:40 am
Shabbaranks (1/29/2016)
Anyway so Im looking to get from the 2 tables see attachment as the...
January 29, 2016 at 6:35 am
Shabbaranks (1/29/2016)
Again thanks for taking the time to assist its really appreciated. I didn't really want to mess with the SQL server and the DB where the data is...
January 29, 2016 at 3:47 am
January 28, 2016 at 7:05 am
VegasL (1/23/2016)
January 23, 2016 at 7:22 am
According to them, report's details should be known exactly. But I explained to them that while ETL process is loading, we have to wait (because we are blocked) or accept...
January 22, 2016 at 12:16 pm
Hi
read the following on how to give us relevant details to respond with an answer that meets your expectations
thanks
http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
January 22, 2016 at 11:56 am
Viewing 15 posts - 916 through 930 (of 2,452 total)