Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Massive.Oracle.cs #117

Merged
merged 1 commit into from

2 participants

@jecoute

Rob,
I modified this file to use USER_TAB_COLUMNS instead of the INFORMATION_SCHEMA.COLUMNS in the query for a Table schema and corrected the parameter syntax.

Larry Northcutt

@robconery robconery merged commit cf3a3a4 into FransBouma:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 17, 2011
  1. @jecoute
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Massive.Oracle.cs
View
2  Massive.Oracle.cs
@@ -185,7 +185,7 @@ public static DynamicModel Open(string connectionStringName)
public IEnumerable<dynamic> Schema {
get {
if (_schema == null)
- _schema = Query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = @0", TableName);
+ _schema = Query("SELECT * FROM USER_TAB_COLUMNS WHERE TABLE_NAME = :0", TableName);
return _schema;
}
}
Something went wrong with that request. Please try again.