I'm pretty new to C# so bear with me if any of this is obvious!
I'm writing a windows form which is bound to an XML data source. The destination for this XML is an IBM z\OS Mainframe as script in testing an application. (Not my choice!)
I've got it all coded and working fine but there are two...
I'm looking to get column information back for multiple views within the same database, rather than having to go back to numerous databases to find the source tables.
I want to automate the process so that it will look at all views within the DBC.Tables view, for the database i specify.
I know...
Does anyone have any code which i can use to transpose columns in SQL.
E.G
id value
1 100
1 200
2 300
becomes
id value1 value2
1 100 200
2 300
I can do it in SAS but we need to be able to do it in SQL too.
thank
Hi all,
I recently submitted the below query, the goal of which was to get copies of duplicate records on my table:
SELECT *
FROM credpol.q7rl_legal_entity a
INNER JOIN
( SELECT prdid , COUNT ( * )
FROM credpol.q7rl_legal_entity
GROUP BY prdid ) AS tmp ( prdid,cnt )
ON a.prdid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.