Viewing 15 posts - 166 through 180 (of 310 total)
SELECT C.category, C.enquiryDescription, C.resolution, C.startDateTime, C.endDateTime, C.totalDateDiff, C.dateOnlyStart, C.dateOnlyEnd, C.MF_SR_ID
FROM myForms.myUser.CallLogRevenuesBACKUP20050802 C
WHERE (C.MF_SR_CTS Between ? And DATEADD(ms, 86397, ?))
This adds all but 3 milliseconds to the day (minimum time resolution...
August 4, 2005 at 8:13 am
See my previous post. You are dealing with a DateTIME. By entering a pure date, you are saying that the time is midnight (at the start of the...
August 4, 2005 at 7:27 am
A DateTime column holds just that (as a floating point numeric). It can be displayed in various ways but it is not held like that. You can't do...
August 4, 2005 at 7:07 am
Phil's original response should do what you want, then. Just modify the input string into the required string format (ie with /s) and perform a simple search. You...
August 3, 2005 at 9:07 am
Sorry, I've no experience of Microsift Query. I'm not sure why you are referring to wildcards. DateTimes cannot have them but you can do a wildcard search with...
August 3, 2005 at 8:42 am
Moving the tables will have physically defragmented them. Is there a clustered index? Have you tried a reindex? It looks like some kind of i/o contention.
August 3, 2005 at 1:54 am
For resilience, I would suggest that you use CONVERT() rather than CAST(). CONVERT() allows you to specify the date format, otherwise you are reliant on the database setting or...
August 3, 2005 at 1:49 am
The administrator can be based on her/himself or have a special value, eg zero or negative. It need not be null.
Thinking about it, everyone has a reference set for...
July 29, 2005 at 7:42 am
For each attribute, you either can make it nullable (if null then inherit) or have a parallel field to serve the same purpose. The nested sets tree model to...
July 29, 2005 at 7:30 am
If you prefix with n (Unicode), you are using two-byte characters, so you are limited to field widths of 4030 characters instead of 8060 (assuming a single field table!) and...
July 29, 2005 at 2:10 am
I picked up this very interesting reference on this site back in April :
http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=123193
It may help with your problem.
July 29, 2005 at 2:05 am
You can't use a function in the way that you want. Can you write the relevant values to a temporary table on the target server and then join to...
July 28, 2005 at 5:37 am
I was assuming that he needed to filter his results based on a table in the local database. Lets say that we need Nancies whose surnames match some list....
July 28, 2005 at 5:24 am
OPENQUERY runs on the target server and returns a result set to the local server. If you want to join tables across servers (and I think that is what...
July 28, 2005 at 1:50 am
I think there is some confusion going on here between Access and SQL Server.
The Access functions are MID() and INSTR().
The corresponding SQL functions are SUBSTRING() and CHARINDEX().
The same algorithm will...
July 25, 2005 at 1:53 am
Viewing 15 posts - 166 through 180 (of 310 total)