J
J S
I know that an ampersand is generally used as the concatenation operator but
I seemed to have found another usage of it that I don't understand. Here is
a code snippet:
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
Set OraDatabase = OraSession.OpenDatabase("2:", "scott/tiger", 0&)
Set EmpDynaset = OraDatabase.DbCreateDynaset("select * from emp", 0&)
Notice the parameters 0&, what does the & do? Based on the documentation I
would have just put a zero instead of a 0&.
-J
I seemed to have found another usage of it that I don't understand. Here is
a code snippet:
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
Set OraDatabase = OraSession.OpenDatabase("2:", "scott/tiger", 0&)
Set EmpDynaset = OraDatabase.DbCreateDynaset("select * from emp", 0&)
Notice the parameters 0&, what does the & do? Based on the documentation I
would have just put a zero instead of a 0&.
-J