Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 1162

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 1162

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 728

Warning: Cannot modify header information - headers already sent by (output started at /home/content/12/8647612/html/index.php:3) in /home/content/12/8647612/html/includes/bootstrap.inc on line 729
Karthikeyan's blog http://www.compshack.com/blog/karthikeyan Welcome to CompShack! CompShack is a user driven Dev2Dev IT community. Developers can ask questions, help answer questions, or just browse code and articles contributed by users. No registration required. You can register if you want to contribute code samples, share your knowledge at your own blog, and become adored in the community! en Breadcrumb SQL to find the Navigation path for the component in the PIA http://www.compshack.com/breadcrumb/breadcrumb-sql-to-find-navigation-path-for-component-pia <p>Breadcrumb SQL:</p> <p><div class="geshifilter"><div class="sql geshifilter-sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">WITH</span> parent <span style="color: #66cc66;">&#40;</span>breadcrumb<span style="color: #66cc66;">,</span> portal_label<span style="color: #66cc66;">,</span> portal_objname<span style="color: #66cc66;">,</span> portal_prntobjname<span style="color: #66cc66;">,</span> portal_reftype<span style="color: #66cc66;">,</span> component<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span><br /> <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> varchar<span style="color: #66cc66;">&#40;</span>rtrim<span style="color: #66cc66;">&#40;</span>portal_label<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span><br /> <span style="color: #66cc66;">,</span> portal_label<br /> <span style="color: #66cc66;">,</span> portal_objname<br /> <span style="color: #66cc66;">,</span> portal_prntobjname<br /> <span style="color: #66cc66;">,</span> portal_reftype<br /> <span style="color: #66cc66;">,</span> <span style="color: #993333; font-weight: bold;">RIGHT</span><span style="color: #66cc66;">&#40;</span>portal_urltext<span style="color: #66cc66;">,</span> length<span style="color: #66cc66;">&#40;</span>portal_urltext<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">-</span> locate<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'.'</span><span style="color: #66cc66;">,</span> portal_urltext<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><br /> <span style="color: #993333; font-weight: bold;">FROM</span> psprsmdefn<br /> <span style="color: #993333; font-weight: bold;">WHERE</span> portal_name <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'EMPLOYEE'</span><br /> <span style="color: #993333; font-weight: bold;">AND</span> portal_reftype <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'C'</span><br /> <span style="color: #993333; font-weight: bold;">UNION</span> <span style="color: #993333; font-weight: bold;">ALL</span><br /> <span style="color: #993333; font-weight: bold;">SELECT</span> varchar<span style="color: #66cc66;">&#40;</span>rtrim<span style="color: #66cc66;">&#40;</span>c<span style="color: #66cc66;">.</span>portal_label<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span> <span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #ff0000;">' &gt; '</span> <span style="color: #66cc66;">||</span> p<span style="color: #66cc66;">.</span>breadcrumb<br /> <span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>portal_label<br /> <span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>portal_objname<br /> <span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>portal_prntobjname<br /> <span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>portal_reftype<br /> <span style="color: #66cc66;">,</span> p<span style="color: #66cc66;">.</span>component</div></div></p> <p><a href="http://www.compshack.com/breadcrumb/breadcrumb-sql-to-find-navigation-path-for-component-pia" target="_blank">read more</a></p> http://www.compshack.com/breadcrumb/breadcrumb-sql-to-find-navigation-path-for-component-pia#comments Breadcrumb Navigaton path Path to the component SQL Thu, 17 Nov 2011 10:53:35 +0000 Karthikeyan 1385 at http://www.compshack.com