Click here to Skip to main content
15,901,982 members
Home / Discussions / Database
   

Database

 
GeneralRe: Free "ORM" Application Pin
baymyo4-Nov-10 2:15
baymyo4-Nov-10 2:15 
GeneralRe: Free "ORM" Application Pin
Chris Meech4-Nov-10 2:39
Chris Meech4-Nov-10 2:39 
GeneralRe: Free "ORM" Application Pin
Simon_Whale4-Nov-10 2:46
Simon_Whale4-Nov-10 2:46 
GeneralRe: Free "ORM" Application Pin
Mycroft Holmes4-Nov-10 3:29
professionalMycroft Holmes4-Nov-10 3:29 
GeneralRe: Free "ORM" Application Pin
baymyo4-Nov-10 4:05
baymyo4-Nov-10 4:05 
GeneralRe: Free "ORM" Application Pin
scottgp4-Nov-10 4:40
professionalscottgp4-Nov-10 4:40 
QuestionOracleCommandBuilder.DeriveParameters doesn't return parameters every time Pin
Tesic Goran3-Nov-10 1:18
professionalTesic Goran3-Nov-10 1:18 
AnswerRe: OracleCommandBuilder.DeriveParameters doesn't return parameters every time Pin
jschell4-Nov-10 8:46
jschell4-Nov-10 8:46 
AnswerRe: OracleCommandBuilder.DeriveParameters doesn't return parameters every time Pin
PIEBALDconsult7-Nov-10 7:51
mvePIEBALDconsult7-Nov-10 7:51 
Questionsql Pin
jeyaranjani2-Nov-10 21:32
jeyaranjani2-Nov-10 21:32 
AnswerRe: sql Pin
R. Giskard Reventlov2-Nov-10 22:29
R. Giskard Reventlov2-Nov-10 22:29 
AnswerRe: sql Pin
Luc Pattyn3-Nov-10 6:36
sitebuilderLuc Pattyn3-Nov-10 6:36 
GeneralRe: sql Pin
R. Giskard Reventlov3-Nov-10 6:40
R. Giskard Reventlov3-Nov-10 6:40 
GeneralRe: sql Pin
Rajesh Anuhya4-Nov-10 0:04
professionalRajesh Anuhya4-Nov-10 0:04 
AnswerRe: sql PinPopular
Jörgen Andersson2-Nov-10 22:35
professionalJörgen Andersson2-Nov-10 22:35 
JokeRe: sql Pin
Gerben Jongerius2-Nov-10 23:15
Gerben Jongerius2-Nov-10 23:15 
AnswerRe: sql Pin
J4amieC3-Nov-10 2:40
J4amieC3-Nov-10 2:40 
AnswerRe: sql Pin
RaviRanjanKr3-Nov-10 17:22
professionalRaviRanjanKr3-Nov-10 17:22 
GeneralRe: sql Pin
Gerben Jongerius3-Nov-10 21:39
Gerben Jongerius3-Nov-10 21:39 
GeneralRe: sql Pin
RaviRanjanKr4-Nov-10 8:19
professionalRaviRanjanKr4-Nov-10 8:19 
AnswerRe: sql Pin
RaviRanjanKr16-Dec-10 3:46
professionalRaviRanjanKr16-Dec-10 3:46 
QuestionMigrating from Oracle to SQL Pin
Arudya2-Nov-10 19:57
Arudya2-Nov-10 19:57 
Hi

I am trying to convert an Oracle query to SQL. But i am totally confused thinking how to proceed. For some of the oracle packages , am not able to find an equivalent SQL function

Here is my Oracle query

cursor c_fields(c_xml XMLTYPE) is
select DBMS_XMLGEN.convert(extract(value(x), '//field/@name').getstringval(),1) FLD_NAME,
extract(value(x), '//field/@resultCol').getstringval() RESULT_COL,
extract(value(x), '//field/fieldConfiguration/@isAttachmentAllowed').getnumberval() AllOW_ATTACHMENT,
extract(value(x), '//field/@key').getnumberval() FLD_ID
from TABLE(XMLSEQUENCE(EXTRACT(c_xml, '//table/field'))) x;

I need to convert this to SQL query. In SQL we dont have parameterized cursor concepts. However to some extent we can achieve the functionality by using "WHERE" condition. But in this query, am not able to trace out how can i write the equivalent SQL functionality since "FROM" part itself is using the parameterized cursor.
Please help.

Thanks
Arudya
AnswerRe: Migrating from Oracle to SQL Pin
jschell4-Nov-10 8:57
jschell4-Nov-10 8:57 
QuestionDatetime format checking in SQL server stored procedure Pin
Danpeking2-Nov-10 4:54
Danpeking2-Nov-10 4:54 
AnswerRe: Datetime format checking in SQL server stored procedure Pin
David Skelly2-Nov-10 7:18
David Skelly2-Nov-10 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.