Viewing 15 posts - 31 through 45 (of 67 total)
The table i posted at the start is what the table looks like in SQL.
Sorry, but your anwers made it even more obscure:
What you mean by "the last not null...
May 12, 2010 at 9:32 am
What you mean by "the last not null field"?
1. Do you want to select AskSideRWsize if the BidSideRWsize is null?
use ISNULL(BidSideRWsize, AskSideRWsize)
> I want to select only when there is...
May 12, 2010 at 8:55 am
So stupid its order by in sql, where i need to do it not in excel
May 21, 2008 at 8:57 am
There is one thing, I need the record setto come through sorted from oldest to newest, I have a time stamp or I could add a field that i can...
May 21, 2008 at 8:36 am
ok this is working for me thats alot for your replys
rsRecordset5.Open "select ESASKSIZE AS ESASKSIZE,ESBIDSIZE AS ESBIDSIZE from DBO.DEMANDSPREAD WITH (NOLOCK) WHERE ESASKSIZE > '' AND ESBIDSIZE > '' AND...
May 20, 2008 at 8:15 am
rsRecordset5.Open "select ESASKSIZE AS ESASKSIZE,ESBIDSIZE AS ESBIDSIZE from DBO.DEMANDSPREAD WITH (NOLOCK) WHERE TIMESTAMP BETWEEN DATEADD(mi, -1, " & "'" & DSMAXTS & "'" & ") AND " & "DATEADD(ss, -1,"...
May 20, 2008 at 8:12 am
this worked for me and never any errors
rsRecordset7.Open "select TIMESTAMP from DEMANDSPREAD WHERE TIMESTAMP=(SELECT MAX(TIMESTAMP)FROM DEMANDSPREAD WITH (NOLOCK))", gcnConnect
DSMAXTS = rsRecordset7.Fields(0).Value
...
February 11, 2008 at 1:47 pm
Further info to my post
This VBA code is on a timed loop, it sends the query to sql every 2 seconds
I am using excel to pull data from SQL on...
January 15, 2008 at 5:57 pm
1)
rsRecordset7.Open "select TIMESTAMP from DEMANDSPREAD WHERE TIMESTAMP=(SELECT MAX(TIMESTAMP)FROM DEMANDSPREAD)", gcnConnect
DSMAXTS = rsRecordset7.Fields(0).Value
rsRecordset7.Close
2)
sSQL = "select...
November 26, 2007 at 5:33 am
I think that would be ok in this instance, any details you know of to guide me through setting one up
I would like to produce a table from it, that...
November 21, 2007 at 8:42 am
Cant SQL execute a query when a new record comes in that woukd be simplist of all
November 19, 2007 at 8:54 am
I dont chart in excel i chart in a charting package built for realtime data from the stockmartet, excel is just a medium for referencing data
November 16, 2007 at 11:35 am
Not exactly sure what you're updating in Excel (e.g. are you retrieving/displaying a rolling history or just a single value?) but anything you can show/display in Excel should be pretty...
November 16, 2007 at 9:02 am
I was thinking webpage, but thats a bit later, for now i wanted to concentrate on excel sql, i have 1 sending PC and 4 recieving, excel is ideal because...
November 16, 2007 at 8:59 am
I have 1 sending data to excel on a LAN, i then intend to use upto 10 PC's to send queries via excel
I am unsing it for stockmarket data analysis...
November 16, 2007 at 8:57 am
Viewing 15 posts - 31 through 45 (of 67 total)