Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheCubicleBuddha/964d9947178973645717f49f6058b6d7 to your computer and use it in GitHub Desktop.
Save TheCubicleBuddha/964d9947178973645717f49f6058b6d7 to your computer and use it in GitHub Desktop.
This demonstrates why it's best to clarify exactly what you want if you know what you need need. To see the solution, head over to:
function getUserById(id: any){
// hits a database and returns the value
}
const guid = "b5f770f2-197c-4bf5-a31f-cfec4f545d06";
const user = getUserById(guid);
// ^^^ Runtime Error: PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got - TEXT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment