Comments (10)
That does seem very strange. I can't think of a way that tedious could interfere with the statement.
Just a silly question. The top 5
isn't responsible your problem?
from tedious.
I have tried it with and without the top 5
, and in my app I am only able to retrieve data prior to july 6 with tedious.
I have also tried different db's and have had the same results with anything after july 6 2012 returning 0 results.
from tedious.
To try and get a better understanding of what's going on, could you enable some debugging logging please?
In your connection config object enable all debug logging options.
var config = {...}
config.options = {}
config.options.debug = {
packet: true,
data: true,
payload: true,
token: true,
log: true
}
Then on the Connection object, log debug
events.
connection.on('debug', function(text) }
console.log(text);
});
This should produce a whole bunch of debug data. If you can add it to this issue (or as a gist), then I'll take a look at it and try and work out what's going on. (You'll probably want to redact the username and password.)
from tedious.
here is a gist of the log data: https://gist.github.com/4150105
from tedious.
Is that all the log data? It stops at the point that an initial statement is sent. There's no sign of a response to that request, let alone the sending of your select statement.
As you've said that you're getting some rows back from your query (just not what you expect), I suspect that there should be more log data.
from tedious.
Here are ones that actually pull data. You were right, there was no request.
prior to july: https://gist.github.com/4151932
after july: https://gist.github.com/4151936
from tedious.
I can't see anything obviously wrong at the protocol level. The two requests are identical except for the date. The requests look perfectly reasonable. There's nothing except column meta data, and a 'done' with row count 0, returned by the server.
If there are rows in the realTime
table where date
is later than or equal to midnight on 06 November, then I'm afraid I'm stumped.
from tedious.
Closing due to inactivity.
from tedious.
I'm getting this exact same issue - the working SQL query I copy over from SSMS and send through is returning different data than SSMS and sometimes nothing at all? It's using the correct db but acting as if it's not.
from tedious.
Hi @Karsenh, can you open a new issue? We can assist you from there.
from tedious.
Related Issues (20)
- [QUESTION] Expected behavior of parallel Strategy for MultiSubnetFailover option HOT 5
- Minor addition to exception information on failed bulk-load data due to type validation: Mention the failed column and errorneous value HOT 1
- Network socket not correctly cleaned up when connection timeout fires during TDS8.0 TLS negotiation HOT 2
- Unable to connect to Azure SQL using azure directory password authentication. HOT 2
- not able to connect to Microsoft Fabric HOT 6
- [QUESTION] How do I check the status of a connection? HOT 3
- Dead Links in documentation HOT 3
- [FEATURE REQUEST] Cloudflare Workers support HOT 3
- unsupported type "BitN" from querying a BIT column HOT 5
- connection error: SSL routines:ssl_choose_client_version:unsupported HOT 2
- [perf] Performance loss on `<instance_members_initializer>` during token parsing HOT 3
- `MessageIO.prototype.startTls` should follow `tls.connect` semantics HOT 1
- Always Encrypted Roadmap
- Need to update @azure/msal-node to 2.0 for NodeJs 20 compatability HOT 9
- Login failure with caret (^) in password HOT 2
- [FEATURE REQUEST] HOT 3
- README Getting Started Links Out-of-Date HOT 1
- [FEATURE REQUEST] Connection socket ref/unref HOT 1
- Getting RangeError [ERR_OUT_OF_RANGE] for "smalldatetime" type column while using bulk insert HOT 10
- https://salla.sa//bero-2030.com HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tedious.