Viewing 15 posts - 1 through 15 (of 28 total)
Ok, sorry but the error is common on both platforms and the error should be the same and the way to solve it π
Thank you in advance for your help,
JC
February 23, 2016 at 6:03 am
Hi,
It is relevant to the number of columns in the group by?
Thks for your help,
JC
February 23, 2016 at 5:14 am
ok,
I already change but have the same error:
SELECT
UNIQUE a.whse_id,
a.ord_id,
b.prod_id,
d.ord_qty*d.unit_ship_cse qty_orig,
b.ckpt_id,
Sum(trunc(b.prod_qty)) qty_final
FROM system:iord a, system:ishd b, archive:stord c, archive:stordd d
WHERE a.dc_id = b.dc_id
AND a.whse_id =...
February 23, 2016 at 4:53 am
I do not understand? If remove the line from having run perfectly π
Thks,
JC
February 23, 2016 at 4:39 am
Hummm,
DonΒ΄t work ask me for parameter m and wh.
π
JC
February 12, 2016 at 5:15 am
Hi again,
I fix this with this.
CDate(Format(Campo,"dd-mm-yyyy"))
Thks a lot for your help,
Regards,
JC
January 25, 2016 at 11:25 am
I appreciate your help but still not running.
:crying:
JC
January 25, 2016 at 8:25 am
This is run with a string in VS 2012, the database table is a mdb (access):
Dim SQLStringtempprd123 As String = "SELECT CAST([create_dtim],'dd-mm-yyyy'),COUNT(*) AS tot FROM Back_ickpt_prd1 WHERE CAST([create_dtim],'dd-mm-yyyy') between '01-09-2016...
January 25, 2016 at 8:04 am
ChrisM@Work (1/25/2016)
jcachado (1/25/2016)
The statment is:
SELECT format([create_dtim],'dd-mm-yyyy'),COUNT(*) AS tot FROM Back_ickpt_prd1 WHERE format([create_dtim],'dd-mm-yyyy') GROUP BY format([create_dtim],'dd-mm-yyyy') order by format([create_dtim],'dd-mm-yyyy') desc
Its run, but i think the DESC dont work because...
January 25, 2016 at 7:51 am
Ok,
The statment is:
SELECT format([create_dtim],'dd-mm-yyyy'),COUNT(*) AS tot FROM Back_ickpt_prd1 WHERE format([create_dtim],'dd-mm-yyyy') GROUP BY format([create_dtim],'dd-mm-yyyy') order by format([create_dtim],'dd-mm-yyyy') desc
Its run, but i think the DESC dont work because is ordering...
January 25, 2016 at 7:44 am
My mistake , already run but not accept the CAST.
Thks ,
JC
January 25, 2016 at 7:28 am
Hi again,
Already work in this way:
SELECT Format([create_dtim],'dd-mm-yyyy'),COUNT(*) AS tot FROM Back_ickpt_prd1 WHERE Format([create_dtim],'dd-mm-yyyy') GROUP BY Format([create_dtim],'dd-mm-yyyy' order by Format([create_dtim],'dd-mm-yyyy'
But when i put ORDER BY dont run.
What is the error?
Thks a...
January 25, 2016 at 5:46 am
But if I want per day will have to remove the between right?
Thks,
JC
January 25, 2016 at 4:59 am
Eirikur Eiriksson (1/23/2016)
Strongly advice you not to use the format function as it performs very badly.π
What your sugestion to replacing format command?
Thks,
JC
January 23, 2016 at 6:22 am
Viewing 15 posts - 1 through 15 (of 28 total)