Passing json to Rest handlers in Go.

In Go, you should know about exported fields. Exported fields must be capitalized. Also, there are two ways to parse json data. Marshaling and marshaling is one way, the other is decoding. Decoding deals with streams. Since we are dealing with the request to a Rest handler it is a stream. Therefore we should opt…

Continue Reading

Go Hello, World through channels

Go is well known for it’s use of goroutines, the lightweight thread managed by the Go runtime. In the use of goroutines, we utilize channels. Channels, Channels are a conduit through which you can send and receive values. By default, sends and receives block until the other side is ready. This allows goroutines to synchronize…

Continue Reading

Oracle 1Z0-071, SQL Constraints

Unique Constraints Requires data in the column to be unique, multiple nulls are allowed. When used in conjunction with NOT NULL, it is effectively identical to a PRIMARY KEY. Cannot be applied to UNIQUE constraint on a column of TIMESTAMP WITH TIME ZONE , CLOB or BLOB datatype. Primary Key May be applied to more…

Continue Reading

Oracle 1Z0-071, Subqueries

What is subquery in SQL? A subquery is simply a SQL query nested inside a larger query. You may also hear or see subqueries referred to as inner queries or inner selects, and the outer query also referred to as the parent, outer query or outer select. How the SQL Engine works Be aware that…

Continue Reading

Oracle 1Z0-071, Character Data Types

Objective: Using DDL Statements to Create and Manage Tables, Describe data types that are available for columns. Char Fixed length Stored 1 character as 1 byte NChar Fixed Length Stores 1 character as 2 bytes UTF-16 encoding Typical outside of America In the case of NChar or Char, if you designate a column as 10…

Continue Reading