Viewing 15 posts - 526 through 540 (of 2,452 total)
something along the lines of
edit your duplicate posts
delete content and replace with something like this.....
"duplicate thread please post all replies to <insert URL here>" where URL is the single...
July 9, 2016 at 7:28 am
no need to cross post...please select one thread and repoint all others to just the one.
thanks
July 9, 2016 at 6:40 am
john.p.lantz (7/8/2016)
Is there a way to convert a column with a DATE datatype to look like the DATETIME format? The format of the HH.MM.SS.MMM would all be zeroes.
Have you...
July 8, 2016 at 1:31 pm
Zidar (7/8/2016)
July 8, 2016 at 12:50 pm
ChrisM@Work (7/7/2016)
You might find this version a little easier to follow than the IBG original and it only reads the data once, so it's quite a bit quicker:
edit...the original OP...
July 8, 2016 at 7:49 am
The Dixie Flatline (7/6/2016)
July 6, 2016 at 3:19 pm
The Dixie Flatline (7/6/2016)
Yes. I'm not sure why it wasn't letting me post that.More importantly: Does it work for you?
yeah.. I think it works...sorry but havent had time...
July 6, 2016 at 2:24 pm
The Dixie Flatline (7/6/2016)
July 6, 2016 at 1:46 pm
J Livingston SQL (7/5/2016)
its now
bed o'clock here and busy tomorrow...but hoping I can work through and understand your...
July 6, 2016 at 10:24 am
does this work for you?
CREATE TABLE #testtable(
ID INT NULL
,Code VARCHAR(6)...
July 6, 2016 at 10:01 am
Nomvula (7/6/2016)
there will always be a startdate.each code i.e jls will not have more than 1 null end date
ok so you will need to exclude all 'jls' rows from the...
July 6, 2016 at 8:16 am
Nomvula (7/6/2016)
Hi Jaccording to your sample data. the results I'm expecting is
INSERT INTO #testtable(Code,Startdate,Enddate) VALUES ('jls','2016-01-01',NULL)
this means the downtime is still open.
so, are you ever going to have a...
July 6, 2016 at 3:05 am
does this help you get going?
CREATE TABLE tab1(
Product VARCHAR(1) NOT NULL
,Currency VARCHAR(3) NOT NULL
,Cost INTEGER ...
July 5, 2016 at 4:14 pm
amanspschauhan (7/5/2016)
select
Table 1.Product,
Table 1.Currency,
Table 1.Cost,
Case
when Table 2.Currency in ('AUD','CAD','EUR','GBP','INR','PLN','USD')
then (Table 1.Cost/Table 2.ConversionRate) End as Actual Cost
From Table 1, Table 2
but it is giving me 56 records...
July 5, 2016 at 3:58 pm
what have you tried so far?
hint> create a join between your tables based on "currency"
July 5, 2016 at 3:46 pm
Viewing 15 posts - 526 through 540 (of 2,452 total)