Viewing 11 posts - 16 through 26 (of 26 total)
Rumours are that MONEY will be deprecated in a future version or incompatible with other db migration.
So l'll probably use decimal and
decimal (19,5) instead of (19,4) for exchange rate...
January 21, 2014 at 2:44 pm
Btw I've converted an access db to sql server and SSMA access convert to float...
January 21, 2014 at 2:36 pm
thanks !
I just read about money and decimal (19,4) Nobody seems to have the same answer about what the best data type...
January 21, 2014 at 2:32 pm
thanks exactly what I wanted but now I've 2 good solutions, computed and cross apply solutions
you are the best(all) !
January 17, 2014 at 3:24 pm
wow thanks I just tried some test on computed columns... Sql server is so strong 🙂
thanks again
January 17, 2014 at 2:18 pm
Yean but I want to avoid to repeat PrdCmd.Prix * PrdCmd.Qte so many times. This expression is simple but if it become pretty long and I need to change base(prix*qte)...
January 17, 2014 at 11:58 am
thanks everyone for input
Last question:
I've a query(french query) WORKING IN Access but NOT in Sql Server 2012 express...
SELECT PrdCmd.NoCommande AS NoCmd
,PrdCmd.DATE
,PrdCmd.Qte AS q
,PrdCmd.Prix AS p
,[p] *
AS Column1
,[column1] *...
January 17, 2014 at 11:21 am
Yeah I know but my fields name are pretty long so it become hard to read in my query because I've around 15 fields to retrieve with many calculated long......
January 17, 2014 at 9:57 am
I'm looking for an hour and after posted my question I finally found my answer...
select q*p as t , p,q from(
SELECT PrdOrder.Qte AS Q, PrdOrder.Prix AS P
FROM PrdOrder) as PO;
January 17, 2014 at 9:31 am
There are a date field, customer# field and even other fields. I want to keep it simple for the example
For quebec it's
(GST * amount) + (PST * ((GST...
January 13, 2014 at 7:18 am
wow dwain.c thanks exactly what I wanted sql server is so strong and both of you 🙂
I'm learning sql server and I'm trying to convert access back-end to sql...
January 12, 2014 at 10:24 pm
Viewing 11 posts - 16 through 26 (of 26 total)