Hi, the help on the advanced optimizations tab is helpful. If your app does not require this stuff then try it. However, I'd always favour safety over speed.
Hi, I'm an Oracle novice so any help is appreciated. I have 2 tables with fields shown below:
MASTER TEMP
PartNumber PartNumber
MaxStock MaxStock
other fields calculation fields
TEMP contains a subset of parts from MASTER and I want to update the MaxStock in MASTER with the...
Also,
CAST(DateTime AS INT) gives 37826
CAST(DateTime AS REAL) gives 37825.508
CAST(CAST(DateTime AS REAL) AS INT) gives 37825
DateTime = '2003-07-25 12:09:00'
Why is variable to INT different from variable to REAL to INT?
Hi,
I need to convert dates in SmallDateTime format into Intergers. When I use CAST on '25/07/2003 11.26', SQL Server returns 37825. However, Excel spreadsheet returns 37827 when I format the date. CAST through SQL Server is exactly 2 less than Excel (even when using floating point...
Hi,
I am using VB6 to manipulate data in an Excel Spreadsheet. If the Spreadsheet is open in Excel then I can open a Schema to view the fields (column names) OK, but if I try to create a new table (shown as a worksheet) using SQL then I get dumped out of VB with a "..tried to access...
Fazul,
In VB, the code could look something like this:
Dim strCity as String
Dim strSQL as String
strCity = Text1.text
strSQL = "SELECT * FROM add WHERE City = '" & strCity & "'"
cnnADO.Execute strSQL 'cnnADO is your ADO connection
As City is a string, the parameter...
Hi,
I have writen a VB app (uses ADO 2.6) that connects to various databases and spreadsheets and creates tables within them. It currently works with Access, Excel and SQL Server but I also need to connect to dBase, Paradox, Lotus123, Oracle and text files.
Depending on the...
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.