﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » How to perform a select on a Stored Proc</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 23:05:25 GMT</lastBuildDate><ttl>20</ttl><item><title>How to perform a select on a Stored Proc</title><link>http://forum.strataframe.net/FindPost6881.aspx</link><description>I am trying to do something like this&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;select&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; index_name &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;as&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; [name]&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; index_description &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;as&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; [Description]&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; Index_keys &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;as&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; [key]&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;P&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;exec&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;sp_helpindex&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'Employee'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;which doesnt work :) any ideas on how to perform a select on a stored procedure? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#000000&gt;P&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 19 Feb 2007 08:09:09 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: How to perform a select on a Stored Proc</title><link>http://forum.strataframe.net/FindPost6931.aspx</link><description>I tried that before and does not work. I dont think is is possible... Anyways I figured screw it and just write the query to get the data I need dont have time to mess with it for one 3 column query</description><pubDate>Mon, 19 Feb 2007 08:09:09 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: How to perform a select on a Stored Proc</title><link>http://forum.strataframe.net/FindPost6883.aspx</link><description>Try aliasing the sproc expression:&lt;br&gt;
&lt;br&gt;
From (exec sp_somesproc) as S</description><pubDate>Fri, 16 Feb 2007 10:47:10 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>