Viewing 15 posts - 46 through 60 (of 65 total)
Like wise, assuming you are looking at the first 6 characters.
SELECT ID FROM
(SELECT SUBSTRING(ID,1,6) ID,COUNT(1)x FROM #T
GROUP BY SUBSTRING(ID,1,6))D WHERE D.x>1
December 11, 2012 at 9:42 pm
saputra.budi (12/9/2012)
but just want to know more about my problem.
well actually i dont need the decimal value, because in my code have...
December 10, 2012 at 8:56 pm
saputra.budi (12/9/2012)
select c.kode,cast(Right(c.kode,5) as integer) as NOSKM from cachekomponen c, barang b
where c.kode=b.kode and b.proses='CBC' and c.owner='1A.0001'
order by cast(Right(c.kode,5) as integer)
the sql server give me: Msg...
December 9, 2012 at 11:31 pm
Ok Found out there is recordset destination-never used that one.Anything to add?
November 5, 2012 at 4:56 pm
I really appreciate the way how most of the frequent SQL gurus at SQL central try to feed the concept instead of just providing the answers.
September 14, 2012 at 11:23 pm
balasach82 (6/16/2012)
Like ...
SELECT F1, F2, F3 from...
June 16, 2012 at 11:20 am
Thomas Striinger (5/18/2012)
May 19, 2012 at 2:00 am
(' select ?= replace((cast(convert(date,min(lastrundate))as varchar)),'-','') from TableA
I can't figure out what is wrong with this code? I am using above code in Excute Sql Task to get the minimum date...
May 11, 2012 at 6:28 pm
Raja Suman (5/11/2012)
Here, I am fetching...
May 11, 2012 at 11:24 am
Lynn Pettis (5/10/2012)
Simple, after the imports and before the package completes, use an Execute SQL Task to update the last rundate in the table.
Well honestly, i thought of it too...
May 10, 2012 at 9:27 pm
vinu512 (5/9/2012)
May 9, 2012 at 1:05 am
Daniel Bowlin (5/8/2012)
May 8, 2012 at 3:42 pm
Jayanth_Kurup (5/8/2012)
May 8, 2012 at 1:31 pm
Viewing 15 posts - 46 through 60 (of 65 total)