Viewing 15 posts - 361 through 375 (of 1,248 total)
Apparently an orange turd with a straw comb-over has got a really important job somewhere. I can't quite understand it myself.
November 9, 2016 at 7:55 am
If they ever install that in our place, I'm doomed.
November 9, 2016 at 5:19 am
Yes this is possible, as demonstrated below. But, this is an extremely simplified example that may not be appropriate for your situation. If you post some sample data...
November 3, 2016 at 7:21 am
Gary Varga (11/1/2016)
November 1, 2016 at 8:35 am
Grant Fritchey (11/1/2016)
Hugo Kornelis (11/1/2016)
BWFC (11/1/2016)
I've got a barrel of cider maturing in the cellar, can I come?Just send the barrel. We'll review your application later. :Whistling:
SECOND!
All in favor?
One barrel...
November 1, 2016 at 6:09 am
ChrisM@Work (11/1/2016)
Luis Cazares (10/31/2016)
Sean Lange (10/31/2016)
jasona.work (10/31/2016)
Ed Wagner (10/31/2016)
Sean Lange (10/31/2016)
jasona.work (10/31/2016)
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
Ed Wagner (10/31/2016)
ThomasRushton (10/31/2016)
Wryan138 (10/30/2016)
November 1, 2016 at 3:50 am
jasona.work (10/26/2016)
Brandie Tarvin (10/26/2016)
jasona.work (10/26/2016)
Phil Parkin (10/26/2016)
HanShi (10/26/2016)
BLOB_EATER (10/26/2016)
Lynn Pettis (10/25/2016)
Spammers are getting better, now even the topics they post look legit.
I liked Eric's response - "get a job you...
October 26, 2016 at 7:10 am
Gary Varga (10/26/2016)
BWFC (10/26/2016)
October 26, 2016 at 5:59 am
Gary Varga (10/26/2016)
BWFC (10/26/2016)
ThomasRushton (10/26/2016)
Eric M Russell (10/25/2016)
Marcia J (10/25/2016)
October 26, 2016 at 5:29 am
ThomasRushton (10/26/2016)
Eric M Russell (10/25/2016)
Marcia J (10/25/2016)
October 26, 2016 at 5:07 am
Here's another way to do it
SELECT
PtLanguage
,Abington
,CAST(ROUND(CAST(Abington * 100 AS DECIMAL(9,3)) /SUM(Abington) OVER(),3) AS DECIMAL(6,3))AS Percent_Abington
,BelmontSt
,CAST(ROUND(CAST(BelmontSt * 100 AS DECIMAL(9,3)) /SUM(BelmontSt) OVER(),3) AS DECIMAL(6,3))AS Percent_BelmontSt
,Bridgewater
,CAST(ROUND(CAST(Bridgewater * 100 AS DECIMAL(9,3)) /SUM(Bridgewater)...
October 21, 2016 at 8:11 am
What do the numbers for each surgery represent? I'm assuming they are the counts of patients speaking each language.
October 21, 2016 at 6:25 am
Ed Wagner (10/21/2016)
djj (10/21/2016)
Stuart Davies (10/21/2016)
Ed Wagner (10/20/2016)
TomThomson (10/20/2016)
Ray K (10/20/2016)
Revenant (10/20/2016)
PennyNickel
Nickelodeon
Cartoon
Strip
Stripper (as in paint)
Scrape
Shell
October 21, 2016 at 5:19 am
Does this do what you need?
CREATE TABLE #example
(
first_nameVARCHAR(15)
,surnameVARCHAR(20)
,email_addressVARCHAR(60)
,countryVARCHAR(20)
)
INSERT INTO #example VALUES
('Andy','Capp','AndyCapp@thecouch.ie','Ireland')
,('Asterix','Thegaul','DesMenhirs@obelix.fr','France')
,('Hexe','Lilli','Spell@witches.de','Germany')
,('Paddington','Bear','Marmalade@sandwiches.pe','Peru')
,('blinky','bill','Up@bluegumtree.au','Australia')
SELECT
*
FROM #example e
ORDER BY
CASE WHEN country IN('Ireland'
,'France'
,'Germany')
THEN 1
ELSE 2
END
DROP TABLE
#example
October 19, 2016 at 6:07 am
Viewing 15 posts - 361 through 375 (of 1,248 total)