ue

The Glorious Presence Of God Pt4: In Immanuel

The greatest presentation of 'The Glorious Presence Of God' was in His Son who came to this world, Immanuel, 'God with us'. We will learn how the glory of God shone through Jesus' life and how the disciples witnessed that glory on the Mount of Transfiguration. Find out how we can experience the glory of God in the face of Jesus Christ. This message is available at https://www.preachtheword.com now in MP3 audio format...



  • Religion & Spirituality

ue

Questions About Healing, Faith And Unbelief

In this message on Matthew 17:14-21, David addresses some critical questions about healing and what the Bible says. Some may object to any emphasis on healing as a distraction from the gospel's central message. However, the record of the Gospels and the Acts is that healing was intrinsic to Jesus' revelation of the Father to humanity. In this teaching, learn how faith affects healing and how our unbelief can affect our faith. This message is available at https://www.preachtheword.com now in MP3 audio format...



  • Religion & Spirituality

ue

Solicito Que Actúe Como Español

La vicepresidente segunda del Gobierno de España y ministra de Trabajo, Yolanda Díaz, ha arremetido contra el Partido Popular por su postura en torno al nombramiento de Teresa Ribera como comisaria europea. Durante una rueda de prensa que tuvo lugar en Toledo, Díaz instó al PP a «por una vez defender a su país», haciendo […]

Artículo publicado en : Solicito Que Actúe Como Español




ue

Castilla-La Mancha Cuenta con 50 Días para Inaugurar Centros de Atención a Víctimas de Violencia Sexual

En un acto simbólico y cargado de demandas, Amnistía Internacional ha entregado cerca de 15.000 firmas a la Consejería de Igualdad de Castilla-La Mancha. Con esta acción, la organización busca presionar a las autoridades para que implementen medidas concretas de apoyo a las víctimas de violencia sexual, en un contexto donde el tiempo apremia: apenas […]

Artículo publicado en : Castilla-La Mancha Cuenta con 50 Días para Inaugurar Centros de Atención a Víctimas de Violencia Sexual




ue

El Gobierno Regional Paga 22,5 Millones de Euros a Agricultores Conquenses por Ayudas de la PAC

El sector agrícola y ganadero de la provincia de Cuenca ha recibido un significativo respaldo económico por parte del Gobierno regional, que ha procedido al pago del anticipo de los ecorregímenes de la Política Agraria Común (PAC) 2024. El delegado provincial de Agricultura, Ganadería y Desarrollo Rural, Rodrigo Fernández Alcalde, ha anunciado que se han […]

Artículo publicado en : El Gobierno Regional Paga 22,5 Millones de Euros a Agricultores Conquenses por Ayudas de la PAC




ue

El Gobierno de Castilla-La Mancha Resalta el Legado de Manuel Marín en la Construcción Democrática de Europa

Ciudad Real, 12 de noviembre de 2024.- El Gobierno de Castilla-La Mancha ha rendido homenaje a Manuel Marín, destacando su papel esencial en la construcción de una Europa democrática y cohesionada. Este reconocimiento fue manifestado por Nazaret Rodrigo, directora general de Asuntos Europeos, durante la presentación del libro ‘Raíz y Rama. Un homenaje a Manuel […]

Artículo publicado en : El Gobierno de Castilla-La Mancha Resalta el Legado de Manuel Marín en la Construcción Democrática de Europa




ue

Ciudad Real Se Prepara Para Implementar La Zona De Bajas Emisiones Que Optimizará El Aire Y La Movilidad

El Ayuntamiento de Ciudad Real está reconsiderando el calendario para la implantación de la zona de bajas emisiones (ZBE) en la ciudad. Esta decisión responde a la necesidad de llevar a cabo un exhaustivo estudio jurídico del borrador de la ordenanza elaborada por la Concejalía de Movilidad. El objetivo es evitar «problemas jurídicos» como los […]

Artículo publicado en : Ciudad Real Se Prepara Para Implementar La Zona De Bajas Emisiones Que Optimizará El Aire Y La Movilidad




ue

Álex Simón Designado cartelista del carnaval 2025, que tendrá lugar del 1 al 15 de marzo

En la ciudad de Cuenca, el ambiente está cargado de emoción ante la inminente llegada del Carnaval, uno de los eventos más esperados por la comunidad. El Concejal de Festejos, Alberto Castellano, ha destacado la colaboración entre su departamento y la Asociación Amigos del Carnaval para fortalecer esta celebración anual. «Llevamos ya tiempo trabajando en […]

Artículo publicado en : Álex Simón Designado cartelista del carnaval 2025, que tendrá lugar del 1 al 15 de marzo




ue

Herencia inaugura una nueva pista de pádel de metacrilato con mejoras de seguridad y tecnología

Herencia estrena desde hoy una nueva y modernizada pista de pádel que promete elevar la experiencia de juego y seguridad de los usuarios. Esta nueva instalación se suma a las tres pistas ya existentes en el complejo deportivo local y está diseñada para satisfacer la creciente demanda de los aficionados a esta disciplina. Las obras […]

Artículo publicado en : Herencia inaugura una nueva pista de pádel de metacrilato con mejoras de seguridad y tecnología




ue

Nuevas Directrices del SEPE para Tramitación de Prestaciones por Daños de DANA

El Servicio Público de Empleo Estatal (SEPE) ha establecido un nuevo protocolo para gestionar electrónicamente las prestaciones por desempleo destinadas a los afectados por la DANA. Esta normativa se ha detalla en una reciente resolución publicada en el Boletín Oficial del Estado (BOE), como parte del Real Decreto-ley ratificado por el Consejo de Ministros. Este […]

Artículo publicado en : Nuevas Directrices del SEPE para Tramitación de Prestaciones por Daños de DANA




ue

Concierto Solidario De Candela&Son En Toledo Por La DANA: ¡Consigue Tus Entradas Ya!

El próximo domingo 24 de noviembre, el reconocido grupo musical Candela & Son ofrecerá un concierto solidario en Toledo con el propósito de recaudar fondos para los afectados por la reciente DANA. El evento, que comenzará a las 19.00 horas en el pabellón del Colegio Nuestra Señora de los Infantes, tiene un costo de entrada […]

Artículo publicado en : Concierto Solidario De Candela&Son En Toledo Por La DANA: ¡Consigue Tus Entradas Ya!




ue

Adventures of Man in the Can - Chapter 11 - Conspiracy in the Sewer Epilogue



The battle is over, the animals now control above and below the park. But the leaders of the snakes and rats; BYDYS and Greystrike, are nowhere to be found. Is there more mischief coming? Listen to the Conspiracy in the Sewers Epilogue and find out!!

Enjoy today's episode of the Adventures of the Man in the Can.



MP3 File - Click Here to Download Podcast









ue

Adventures of Man in the Can - Ch 20 - The Great Exodus Epilogue



The animals from the park have found a home and made some new and powerful friends. But what will be waiting for them when they go back to the park?

Find out what happens on today's episode of the Man in the Can.




MP3 File - Click Here to Download Podcast





GREAT DEALS FOR LISTENERS! CLICK BELOW
!


Save 10% on all your pet's needs at PetMeds.com
Up to 20% off on great athletic gear at Eastbay.com
Save 15% on your favorite stuff at Footlocker.com
Save 20% on your flower order with FTD Fluerop.com
Save $10 off your next order from PetCareRX.com




ue

Condems, Bringing 19th Century Values to 21st Century Britain.

Captioned Photo Kindly provided by Christos Palmer

I was reading "A Christmas Carol" by Charles Dickens yesterday, a book written in 1843, and I'd like to share this excerpt from the first chapter.

Two men enter Scrooges office on Christmas eve asking for charity for the poor.

.... "at this festive season of the year Mr Scrooge," said the gentlemen, taking up a pen "it is more than usually desirable that we should make some light provision for the poor and destitute, who suffer greatly at the present time. Many thousands are in want of common comforts sir."

"Are there no prisons?" asked Scrooge.

"Plenty of prisons" said the gentlemen. Laying down the pen again.

"And the union work houses?" demanded Scrooge. "Are they still in operation?"

"They are still" returned the gentleman "I wish I could say they were not"

"The treadmill and the poor law are in full vigour then?" said Scrooge.

"Both very busy sir"

"Oh! I was  afraid from what you said at first, that something had occurred to stop them in their Useful course", said Scrooge "I'm very glad to hear it".

"Under the impression that they scarcely furnish Christian cheer of mind or body in the multitude" returned the gentlemen "  few of us are endeavouring to raise a fund to buy the poor some meat drink, and means of warmth. We choose this time, because of all others, when want is keenly felt, and abundance rejoices. What shall I put you down for?"

"Nothing!" Scrooge replied

"You wish to be anonymous?"

"I wish to be left alone" said Scrooge "since you ask me what I wish, gentlemen that is my answer. I don't make merry myself and I can't afford to make idle people merry. I help to support the establishments I have mentioned - they cost enough; and those who are badly off must go there."

"Many can't go there; and many would rather die"

"If they would rather die" said Scrooge "they had better do it, and decrease the surplus population. Besides - excuse me but I do not know that"

"But you might know it" observed the gentlemen.

"It is not my business" Scrooge returned "it is enough for a man to understand his own business, and not to intrude with other peoples. Mine occupies me constantly. Good afternoon gentlemen."

Seeing Clearly that it would be useless to pursue their point, the gentlemen withdrew. Scrooge resumed his labours with an improved opinion of himself, and an even more facitious temper than was usual with him...


As you can see the attitude towards the poor and destitute in Britain is becoming chillingly close to that of 19th century Britain. The current government is bringing values from that century that even the Victorians were ashamed of  and sought to bring to public attention the hypocrisy and barbarism of as early as 1843 to this century.

So before you harshly judge a benefit claimant as workshy or a scrounger remember, the welfare state was bought in to put a stop to the inhumane methods of dealing with the poor used before it's creation. The benefit claimants of today are no different to the poor and destitute of the Victorian era. Do not let the government drag us back to the 19th century with their propaganda about "benefit dependency" and "tough love".

The only thing that will end benefit dependency and help the long term unemployed and sick and disabled back to work is job creation, and a more sympathetic and helpful attitude towards them, that enables them to get work and remain employed. Labeling, hounding and cutting off benefits will not help anyone except the government in their endeavours to save money, caused by a crisis they created with their relentless pursuit of profit over humanity. 




ue

Guest Post By Lynn AKA "Sign And Save Lives"

Guest post by Lynn

My name is Lynn, I’m 60 years old and I’d like to share my son’s illness with you all to try and help you understand the predicament thousands of others like my son are faced with next year, regarding DWP Benefit Reform for the sick and disabled.

My youngest son aged 40 has suffered from Paranoid Schizophrenia and emotional instability Personality Disorder since the age of 18. I have lived the illness with my son, the highs, the lows, and numerous hospital admissions over the years. My son had another very bad psychotic breakdown in August 2010, which resulted in a section 3 of the Mental Health Act and he has been in hospital care for 2 years this time.

Although my son is nearly 40 years old, mentally he is only 15, he is immature and extremely vulnerable and easily exploited. Therefore needs much support and care when living in the community.

My son, like thousands like him, who suffer from a Severe and Enduring mental health problem, has no voice when it comes to the DWP or ATOS, he like others wouldn’t be able cope with being interviewed next year 2013 when the Disability Living Allowance changes to Personal Independence Payment and he has to be assessed by DWP.  He, again like many others, who suffer severe mental illness, doesn’t believe he is ill, and just wants to be left alone.

The severely mentally ill will be hugely disadvantaged by the GOV/DWP/ATOS putting them through this ridiculous assessment in 2013, particularly people who don’t believe they are mentally ill, who to anyone who doesn’t know them, or, their background, can come across as fine, strong, healthy people, and may not appear ill at all, or, that they need help and support in their day to day lives, keeping them and others safe in the community, they won’t see the risks for the mentally ill, and many won’t have family or support to go with them to the assessments!

My son would tell an assessor he wasn’t ill, and say he just wanted to be left alone to get on with his life, which would see him losing his DLA/PIP for sure. Yet in reality, my son cannot get on a bus or use any public transport due to his paranoia that people are staring at him. He would get upset and get angry, probably end up getting in to trouble, because his self-esteem is low as is his confidence, and he thinks the world and his mate are against him.

To avoid this kind of stress and a way of coping, he needs taxis to anywhere he has to go, shopping, to any appointments he has. It is the only way he can cope with going out, and without his DLA/PIP he would be housebound and have no quality of life at what so ever.

If mental health sufferers lose their DLA/PIP benefit, (same as all disabled), it will place a huge extra burden on family, carers and friends emotionally and financially to provide the care and support and finance they need, which most of us couldn’t afford! All to often family/friends who are carers, as in our own case, are ill, worn down.

I was diagnosed 2 years ago with Moderate to Severe ME/CFS and told by my consultant it was due to being a carer for 22 years. My husband is 76 years old, in bad health, tired, it catches up with us and having to provide even more care to our loved ones should they lose their benefit, will put carers at more risk mentally and physically.

Because I understand the plight of the severely mentally ill, and have insight to the wider implications of what the GOV/DWP actions will cause for the sufferer and family, and carers, I have started this e-petition asking the Government to Exclude all severely mental ill from the 2013 DLA/PIP assessments, because what the GOV/DWP are doing is the biggest travesty and betrayal to our sick and disabled who in most cases have already proved their illness/disability with medical evidence and assessments they have already had to go through to get their DLA in the first place, and many like my son, were awarded DLA for an Indefinite period because they have provided proof their illness/disability is a life long one!

There are a number of e-petitions about Benefit Reform, I have signed them all which everyone should do to try and help protect all disabled, however, this petition is specifically to try and get the severely mentally ill EXCLUDED from the assessments because they do not have a strong enough voice and they will be hugely disadvantaged as I said before.

As a mum of a severely mentally ill son, and on behalf of all other sufferers like him, I know these assessments will cause SUICIDES in our most vulnerable, and cause huge hardship all round, please may I respectfully appeal to your good hearts and souls to support this e-petition and sign it, to share it with family & friends, on twitter/face book accounts, groups you may belong to, as I need 100,000 signatures to stand any chance of getting the House Of Commons to debate this, and at the moment I only have 2,456 signatures,  we only have until March to get the 100K!

Thank you all for taking the time to read this my plea, and I very much hope you will feel able to sign this petition.
http://epetitions.direct.gov.uk/petitions/35092

Kind Regards

Lynn
---------------------------------------

You can follow Lynn on Twitter  > @SignSaveLives




ue

Atos monlogues "Internet Survey number 2" for art action week project.

Picture by Stewart
If we're going to do any of the Atos monologues I'm going to need a lot of volunteers who can record themselves and somehow send the video, because of the amount of time we have I think we can only do a small part. Mainly because we don't have time to send larger videos which would probably have to be sent by post on a disc. There are a lot of lines in this part, and the resulting videos will hopefully be short enough to email or send over facebook. If you just upload them to the art action group I can download them from there.
I've moved this post onto the blog as it's easier to share a link to it, and I can strike through the lines that are already taken.  If you want to take part chose the line you want to read from the list below, record it and you can send it to me through facebook. If you don't use facebook leave a comment and we'll find another way for you to send me the video. And if the line you wanted has a line through it sorry someone has already taken that one.
Here is the full Atos Monologues 2 script: 

http://www.scribd.com/doc/105841602/The-Atos-Monologues2
The part we are doing is on page 13
 

We can't see Post traumatic stress disorder and we've never heard of a hippocampus.
You do not meet my limited definition of being disabled
You drive an Audi. How would you afford it? It would be too difficult for a disabled person to get in.
You can text a friend
You can tweet
You watch TV and soaps and can sit comfortably for half an hour.  
I saw you stand up!
'You're too young'
You can pick up a £1 coin
"You seem alright to me"
"You're smiling"
You look butch. Can't be anything wrong with you.
You could fill in the form.
You brushed your hair this morning and you’re wearing a nice coat
You answered questions that was asked
You traveled by bus
You don’t soil yourself every day.
You could fill in the form
You’re still breathing
You can spell your name backwards
You're not a dribbling, disheveled lunatic howling at the moon and threatening to axe people to death
You hold eye contact
You don’t look disabled enough to me
You brushed your teeth this morning.
You’re faking it.
You can’t have Post traumatic stress disorder because "you've never been in a war zone"
You’re at university.
You have a girl friend.
You don’t look autistic
You can talk
I cannot see anything wrong with you
You moved your leg.
You can lift an empty box up to waist height.
You’re so pretty.
PAUSE
You can’t be disabled because of Tory ideology




ue

Tout est possible dans notre République !

Révélateur, entre-autre, d'une certaine conception de l'effort pour combler le déficit public... On apprend dans Le Canard enchaîné que l'homme qui justifiait sa faramineuse augmentation de 206% par un souci de transparence perçoit toujours depuis le...




ue

Contrôle technique : les deux-roues aussi ?

Bientôt un contrôle technique pour les motos et autres scooters ? C'est en tout cas ce que recommande un rapport du conseil général des ponts et chaussées pour les deux roues motorisés, cyclomoteurs et motos. L'extension d'un contrôle technique aux deux...




ue

Crédit d'impôt Borloo : Assistance et cours informatique à domicile

Le gouvernement vient d'annoncer un crédit d'impôts sur les services à la personne . Celui ci est ouvert aux ménages non imposable. Il permettra à ceux ci de faire intervenir un prestataire d'aide à domicile comme par exemple, et c'est encore peu connu,...




ue

Les 4 vérités avec Jacques Séguéla

Je ne dois pas vivre dans le même pays ou la même planète que Monsieur Jacques Séguéla ! Invité à l'émission "Les 4 vérités" sur France 2 le 13/02/2009, en réponse à une question sur le coté Bling Bling de Capitaine Caverne (Nicolas pour ceux qui n'ont...




ue

Des militaires français soupçonnés de viols sur des enfants en Centrafrique

Un document confidentiel de l'ONU, qui fait état de viols sur mineurs par des soldats français, a été transmis par un employé des Nations unies aux autorités françaises. Une enquête préliminaire a été ouverte ainsi qu'une "enquête de commandement" au...




ue

La Chine accueille les entreprises � capitaux �trangers pour approfondir la coop�ration mutuellement b�n�fique

La Chine promeut une ouverture de haut niveau du secteur financier et accueille les entreprises � capitaux �trangers pour approfondir la coop�ration mutuellement b�n�fique, a annonc� mardi � Beijing le vice-Premier ministre chinois He Lifeng. M....




ue

Tenue du premier Forum des m�dias et des groupes de r�flexion du Sud global au Br�sil

Organis� sur le th�me "D�veloppement et revitalisation : un nouveau parcours pour le Sud global", le premier Forum des m�dias et des groupes de r�flexion du Sud global s'est tenu lundi et mardi � S�o Paulo, au Br�sil. Des messages de...




ue

La Chine et les pays d'Am�rique latine et des Cara�bes b�n�ficieront de perspectives plus prometteuses au cours des dix prochaines ann�es

Guid�e par la diplomatie des chefs d'Etat, la communaut� d'avenir partag� Chine-pays d'Am�rique latine et des Cara�bes b�n�ficiera de perspectives plus prometteuses durant la d�cennie � venir, a d�clar� mardi un porte-parole du minist�re chinois des...




ue

L'arm�e chinoise effectue des patrouilles de pr�paration au combat � Huangyan Dao

L'arm�e chinoise a effectu� mercredi des patrouilles de pr�paration au combat dans les eaux territoriales et l'espace a�rien territorial de Huangyan Dao, �le chinoise en mer de Chine m�ridionale, ainsi que dans des zones avoisinantes. Le...




ue

Chine : la partie continentale d�clare que les consultations entre les deux rives du d�troit sont possibles en reconnaissant le Consensus de 1992

Les consultations entre l'Association pour les relations entre les deux rives du d�troit de Taiwan (ARATS) et la Fondation pour les �changes entre les deux rives du d�troit de Taiwan (SEF) pourraient reprendre si les autorit�s de Taiwan...




ue

Dix milliards de yuans de commande pour les moteurs a�ronautiques civils chinois

Aero Engine Corporation of China a annonc� mercredi qu'elle avait sign� des bons de commande et des contrats de coop�ration portant sur plus de 1.500 moteurs, pour une valeur totale de plus de 10 milliards de yuans (environ 1,39 milliard de...




ue

Xi entame une tourn�e en Am�rique latine pour d�fendre la coop�ration et le multilat�ralisme

Le pr�sident chinois Xi Jinping entame mercredi une tourn�e en Am�rique latine, o� il assistera � la 31e r�union des dirigeants �conomiques de la Coop�ration �conomique pour l'Asie-Pacifique (APEC) � Lima, capitale du P�rou, et au 19e sommet du G20...




ue

Les �changes culturels entre les deux rives du d�troit se poursuivent malgr� les obstacles politiques

Une porte-parole de la partie continentale de la Chine a condamn� mercredi les politiciens du Parti d�mocrate progressiste (PDP) dans la r�gion de Taiwan, qui tentent de faire obstacle aux �changes normaux entre les deux rives du d�troit de Taiwan...




ue

La Chine adopte des politiques fiscales pour soutenir le march� de l'immobilier

La Chine a promulgu� mercredi des politiques fiscales pour soutenir le d�veloppement stable et sain du march� de l'immobilier. Le minist�re des Finances a d�clar� que le pays augmenterait les incitations en termes de taxe sur les actes pour...




ue

La Chine est pr�te � cr�er davantage d'opportunit�s pour les partenaires de l'Asie-Pacifique gr�ce au d�veloppement et � l'ouverture

La Chine est pr�te � profiter de la 31e r�union des dirigeants �conomiques de l'APEC pour cr�er davantage d'opportunit�s pour les partenaires de l'Asie-Pacifique avec un d�veloppement de haute qualit� et une ouverture de haut niveau, a d�clar�...





ue

De Airworx Plus 10.0: Robuust en luxueus

SKS Germany´s Airworx Plus 10.0 review Tot op de PSI luchtdruk reguleren Met de robuuste, extra hoge Airworx Plus 10.0 is elke ...... Lees verder: De Airworx Plus 10.0: Robuust en luxueus





ue

Recursive WITH, part II: Hierarchical queries

articles: 

In my last post, I looked at using recursive WITH to implement simple recursive algorithms in SQL. One very common use of recursion is to traverse hierarchical data. I recently wrote a series of posts on hierarchical data, using Oracle’s CONNECT BY syntax and a fun example. In this post, I’ll be revisiting the same data using recursive WITH.

There are dozens of examples of hierarchical data, from the EMP table to the Windows Registry to binary trees, but I went with something more fun: the skeleton from the old song “Dem Dry Bones”.

Quote:
Toe bone connected to the foot bone
Foot bone connected to the heel bone
Heel bone connected to the ankle bone
Ankle bone connected to the shin bone
Shin bone connected to the knee bone
Knee bone connected to the thigh bone
Thigh bone connected to the hip bone
Hip bone connected to the back bone
Back bone connected to the shoulder bone
Shoulder bone connected to the neck bone
Neck bone connected to the head bone

Since every bone has only one ancestor, and there is a root bone with no ancestor, this is hierarchical data and we can stick it in a table and query it.

SELECT * FROM skeleton;
BONE                                     CONNECTED_TO_THE
---------------------------------------- ----------------------------------------
shoulder                                 neck
back                                     shoulder
hip                                      back
thigh                                    hip
knee                                     thigh
leg                                      knee
foot                                     heel
head
neck                                     head
toe                                      foot
arm                                      shoulder
wrist                                    arm
ankle                                    leg
heel                                     ankle
finger                                   wrist
a rib                                    back
b rib                                    back
c rib                                    back

You can see that I added some ribs and an arm to make the skeleton more complete!

Using Oracle’s CONNECT BY syntax:

SQL> col bone FOR a10
SQL> col connected_to_the FOR a9
SQL> col level FOR 99
SQL> col bone_tree FOR a27
SQL> col path FOR a65
 
SELECT bone, connected_to_the, level, 
lpad(' ',2*level, ' ') || bone AS bone_tree , 
ltrim(sys_connect_by_path(bone,'>'),'>') AS path
FROM skeleton
START WITH connected_to_the IS NULL
CONNECT BY prior bone=connected_to_the 
ORDER siblings BY 1

BONE       CONNECTED LEVEL BONE_TREE                   PATH
---------- --------- ----- --------------------------- -----------------------------------------------------------------
head                     1   head                      head
neck       head          2     neck                    head>neck
shoulder   neck          3       shoulder              head>neck>shoulder
arm        shoulder      4         arm                 head>neck>shoulder>arm
wrist      arm           5           wrist             head>neck>shoulder>arm>wrist
finger     wrist         6             finger          head>neck>shoulder>arm>wrist>finger
back       shoulder      4         back                head>neck>shoulder>back
a rib      back          5           a rib             head>neck>shoulder>back>a rib
b rib      back          5           b rib             head>neck>shoulder>back>b rib
c rib      back          5           c rib             head>neck>shoulder>back>c rib
hip        back          5           hip               head>neck>shoulder>back>hip
thigh      hip           6             thigh           head>neck>shoulder>back>hip>thigh
knee       thigh         7               knee          head>neck>shoulder>back>hip>thigh>knee
leg        knee          8                 leg         head>neck>shoulder>back>hip>thigh>knee>leg
ankle      leg           9                   ankle     head>neck>shoulder>back>hip>thigh>knee>leg>ankle
heel       ankle        10                     heel    head>neck>shoulder>back>hip>thigh>knee>leg>ankle>heel
foot       heel         11                       foot  head>neck>shoulder>back>hip>thigh>knee>leg>ankle>heel>foot
toe        foot         12                         toe head>neck>shoulder>back>hip>thigh>knee>leg>ankle>heel>foot>toe

The above CONNECT BY query uses the LEVEL pseudocolumn and the SYS_CONNECT_BY_PATH function. With recursive WITH, there’s no need for these built-ins because these values fall naturally out of the recursion.

Let’s start with the basic hierarchical query rewritten in recursive WITH.
The hierarchical relationship in our table is:
Parent(row.bone) = row.connected_to_the

WITH skellarchy (bone, parent) AS
 ( SELECT bone, connected_to_the FROM skeleton 
   WHERE bone = 'head'                         -- Start with the root
 UNION ALL
   SELECT s.bone, s.connected_to_the 
   FROM skeleton s, skellarchy r
   WHERE r.bone = s.connected_to_the           -- Parent(row.bone) = row.connected_to_the
 )
SELECT * FROM skellarchy;

BONE       PARENT
---------- ----------------------------------------
head
neck       head
shoulder   neck
back       shoulder
arm        shoulder
hip        back
wrist      arm
a rib      back
b rib      back
c rib      back
thigh      hip
finger     wrist
knee       thigh
leg        knee
ankle      leg
heel       ankle
foot       heel
toe        foot

Because we built up the SKELLARCHY table recursively, it’s easy to make an equivalent to the LEVEL pseudocolumn; it falls right out of the recursion:

WITH skellarchy (bone, parent, the_level) AS
 ( SELECT bone, connected_to_the, 0 FROM skeleton 
   WHERE bone = 'head'                         
 UNION ALL
   SELECT s.bone, s.connected_to_the , r.the_level + 1
   FROM skeleton s, skellarchy r
   WHERE r.bone = s.connected_to_the           
 )
SELECT * FROM skellarchy;

BONE       PARENT      THE_LEVEL
---------- ---------- ----------
head                           0
neck       head                1
shoulder   neck                2
back       shoulder            3
arm        shoulder            3
hip        back                4
wrist      arm                 4
a rib      back                4
b rib      back                4
c rib      back                4
thigh      hip                 5
finger     wrist               5
knee       thigh               6
leg        knee                7
ankle      leg                 8
heel       ankle               9
foot       heel               10
toe        foot               11

and it’s also easy to build up a path from root to the current node like the “SYS_CONNECT_BY_PATH” function does for CONNECT BY queries:

WITH skellarchy (bone, parent, the_level, the_path) AS
 ( SELECT bone, connected_to_the, 0, CAST(bone AS varchar2(4000)) FROM skeleton 
   WHERE bone = 'head'                         
 UNION ALL
   SELECT s.bone, s.connected_to_the , r.the_level + 1, r.the_path || '->' || s.bone
   FROM skeleton s, skellarchy r
   WHERE r.bone = s.connected_to_the           
 )
SELECT * FROM skellarchy;

BONE       PARENT     THE_LEVEL THE_PATH
---------- ---------- --------- --------------------------------------------------------------------------------
head                          0 head
neck       head               1 head->neck
shoulder   neck               2 head->neck->shoulder
back       shoulder           3 head->neck->shoulder->back
arm        shoulder           3 head->neck->shoulder->arm
hip        back               4 head->neck->shoulder->back->hip
wrist      arm                4 head->neck->shoulder->arm->wrist
a rib      back               4 head->neck->shoulder->back->a rib
b rib      back               4 head->neck->shoulder->back->b rib
c rib      back               4 head->neck->shoulder->back->c rib
thigh      hip                5 head->neck->shoulder->back->hip->thigh
finger     wrist              5 head->neck->shoulder->arm->wrist->finger
knee       thigh              6 head->neck->shoulder->back->hip->thigh->knee
leg        knee               7 head->neck->shoulder->back->hip->thigh->knee->leg
ankle      leg                8 head->neck->shoulder->back->hip->thigh->knee->leg->ankle
heel       ankle              9 head->neck->shoulder->back->hip->thigh->knee->leg->ankle->heel
foot       heel              10 head->neck->shoulder->back->hip->thigh->knee->leg->ankle->heel->foot
toe        foot              11 head->neck->shoulder->back->hip->thigh->knee->leg->ankle->heel->foot->toe

and we can use our generated the_level column to make a nice display just as we used the level pseudocolumn with CONNECT BY:

WITH skellarchy (bone, parent, the_level) AS
 ( SELECT bone, connected_to_the, 0  FROM skeleton 
   WHERE bone = 'head'                         
 UNION ALL
   SELECT s.bone, s.connected_to_the , r.the_level + 1
   FROM skeleton s, skellarchy r
   WHERE r.bone = s.connected_to_the           
 )
SELECT lpad(' ',2*the_level, ' ') || bone AS bone_tree FROM skellarchy;

BONE_TREE
---------------------------
head
  neck
    shoulder
      back
      arm
        hip
        wrist
        a rib
        b rib
        c rib
          thigh
          finger
            knee
              leg
                ankle
                  heel
                    foot
                      toe

Now, the bones are coming out in a bit of a funny order for a skeleton. Instead of this:

    shoulder
      back
      arm
        hip
        wrist
        a rib
        b rib
        c rib
          thigh
          finger

I want to see this:

    shoulder
      arm
        wrist
          finger
      back
        a rib
        b rib
        c rib
        hip
          thigh

The rows are coming out in BREADTH FIRST ordering – meaning all siblings of ‘shoulder’ are printed before any children of ‘shoulder’. But I want to see them in DEPTH FIRST: going from shoulder to finger before we start on the backbone.

WITH skellarchy (bone, parent, the_level) AS
 ( SELECT bone, connected_to_the, 0  FROM skeleton 
   WHERE bone = 'head'                         
 UNION ALL
   SELECT s.bone, s.connected_to_the , r.the_level + 1
   FROM skeleton s, skellarchy r
   WHERE r.bone = s.connected_to_the           
 )
SEARCH DEPTH FIRST BY bone SET bone_order
SELECT lpad(' ',2*the_level, ' ') || bone AS bone_tree FROM skellarchy
ORDER BY bone_order;

BONE_TREE
---------------------------
head
  neck
    shoulder
      arm
        wrist
          finger
      back
        a rib
        b rib
        c rib
        hip
          thigh
            knee
              leg
                ankle
                  heel
                    foot
                      toe

And now the result looks more like a proper skeleton.

Now on to cycles. A cycle is a loop in the hierarchical data: a row is its own ancestor. To put a cycle in the example data, I made the skeleton bend over and connect the head to the toe:

UPDATE skeleton SET connected_to_the='toe' WHERE bone='head';

And now if we try to run the query:

ERROR at line 2:
ORA-32044: cycle detected while executing recursive WITH query

With the CONNECT BY syntax, we can use CONNECT BY NOCYCLE to run a query even when cycles exist, and the pseudocolumn CONNECT_BY_IS_CYCLE to help detect cycles. For recursive WITH, Oracle provides a CYCLE clause, which is a bit more powerful as it allows us to name the column which is cycling.

WITH skellarchy (bone, parent, the_level) AS
 ( SELECT bone, connected_to_the, 0  FROM skeleton 
   WHERE bone = 'head'                         
 UNION ALL
   SELECT s.bone, s.connected_to_the , r.the_level + 1
   FROM skeleton s, skellarchy r
   WHERE r.bone = s.connected_to_the           
 )
SEARCH DEPTH FIRST BY bone SET bone_order
CYCLE bone SET is_a_cycle TO 'Y' DEFAULT 'N'
SELECT lpad(' ',2*the_level, ' ') || bone AS bone_tree, is_a_cycle FROM skellarchy
--where is_a_cycle='N'
ORDER BY bone_order;

BONE_TREE                                                    I
------------------------------------------------------------ -
head                                                         N
  neck                                                       N
    shoulder                                                 N
      arm                                                    N
        wrist                                                N
          finger                                             N
      back                                                   N
        a rib                                                N
        b rib                                                N
        c rib                                                N
        hip                                                  N
          thigh                                              N
            knee                                             N
              leg                                            N
                ankle                                        N
                  heel                                       N
                    foot                                     N
                      toe                                    N
                        head                                 Y

The query runs until the first cycle is detected, then stops.

The CONNECT BY syntax does provide a nice pseudocolumn, CONNECT_BY_ISLEAF, which is 1 when a row has no further children, 0 otherwise. In my next post, I’ll look at emulating this pseudocolumn with recursive WITH.


Republished with permission. Original URL: http://rdbms-insight.com/wp/?p=103




ue

Golf Rankings for Puerto Rico Open

Our expert picks the top 30 PGA tour golfers for this week's tournament: 1. Scott Brown, 2. Jerry Kelly, 3. Jonathan Byrd, 4. Patrick Rodgers, 5. William McGirt, 6. Freddie Jacobson, 7. Graham Delaet, ...




ue

PGA DFS: Puerto Rico Open (Premium)

Daily Fantasy Golf Expert Chris Garosi breaks down the top players to target in the Puerto Rico Open on DraftKings this week!:




ue

PGA DFS: Puerto Rico Open (Free Preview)

Fantasy Golf Expert Chris Garosi will help you cash in on DraftKings. This is a free preview of his PREMIUM PGA DFS Rundown!:




ue

Scouting The NBA DFS - Tuesday, March 22 (Premium)

A good-looking 4-game slate of NBA action tonight, and the Daily DFS Breakdown will help you cash on DraftKings and FanDuel




ue

Scouting The NBA DFS - Tuesday, March 22 (Free Preview)

Fantasy Basketball Expert Nate Weitzer will help you cash with your DFS NBA lineups. This is a free preview of his PREMIUM NBA DFS Rundown!




ue

Kickman's NHL DFS Picks (Tuesday, March 22)

FullTime Fantasy Sports continues to expand its Fantasy coverage and now with a PREMIUM membership, you earn access to Kickman's NHL DFS picks all season long!




ue

Minor League Baseball gets the fantasy treatment with launch of Futures Fantasy Baseball

Futures Fantasy Baseball ? a new fantasy baseball site for the minor leagues ? aims to grow the business of Minor League Baseball while capitalizing on the interest of fans in baseball?s next generation of superstars.




ue

Scouting The NBA DFS - Tuesday, March 29 (Premium)

We bring you the top plays,values, and fades for your DFS lineups on DraftKings and FanDuel with a 6-game slate of NBA action on the docket tonight




ue

Need to Know Players: Toronto Blue Jays

Dr. Roto discusses two players from the Toronto Blue Jays Fantasy Baseball owners should keep an eye on in 2016!




ue

Scouting The NBA DFS - Tuesday, March 29 (Free Preview)

Fantasy Basketball Expert Nate Weitzer will help you cash with your DFS NBA lineups. This is a free preview of his PREMIUM NBA DFS Rundown!




ue

CyberCoder to the Rescue!

You might have noticed that the FISK's left column has been playing hide and seek for the past couple of weeks.

Well after a few sleepless nights in (almost) Seattle, I called on a friend of mine - the infamous CyberCoder who figured out the problem in quick fashion.

If you're a geek or a wannabe geek or need to know about stuff like Ajax etc., then he's the guy to read. Much thanks my friend.

Related links: blog, weblog, blogging, blogtech, webtech, web 2.0, blog resources, computing, internet, computers and internet, technology, tech




ue

Volkswagen startet neue Allianz mit dem Tesla-Rivalen Rivian

Nun ist es offiziell: Volkswagen holt sich für Auto-Software der nächsten Generation Hilfe vom US-Elektroautobauer Rivian. Dafür stockt der Konzern seine Investition in ein Gemeinschaftsunternehmen noch einmal auf.




ue

tagesschau | ARD-aktuell





ue

2wd nv5600 swap questions

I have read through dozens of threads for nv5600 swaps in 4wd trucks but I have not found a single one on a 2wd, is there something that makes it not possible in 2wd? I can get a 2wd 3rd gen...



  • 1st Gen. Ram - All Topics