Viewing 15 posts - 16 through 30 (of 41 total)
As the others said, I would do the conversion in the front end and then pass the datetime value to SQL Server
A quick search brought up this for example:
October 20, 2010 at 5:59 am
jeboesch (10/6/2010)
The email field contains some NULL values, could that be the problem?
Elimitate NULLs either in the WHERE condition of the query (SELECT .... WHERE email_address IS NOT NULL) or...
October 7, 2010 at 6:11 am
grovelli-262555 (9/25/2010)
Thanks Philipp,can you give me an example of a CHECK constraints with a SELECT statement in it?
ALTER TABLE Customers
ADD CONSTRAINT LimitRule
CHECK (CustomerLimit <= (SELECT MAX(Limit)
...
September 26, 2010 at 3:25 am
grovelli-262555 (9/23/2010)
By the way, shouldn't it beDB_Connection.Execute SQL_Statement(i)?
Yes, right. I copied it out of my (home made) scratchpad and simplified it a bit for easier reading. Obviously this was...
September 25, 2010 at 4:03 am
I am using a SQL Scratchpad form for executing all SQL commands via ADO (much better SQL support than through the Access UI)
If you pass CREATE TABLE .... ; followed...
September 22, 2010 at 8:57 am
DATEADD(month, -1, CURRENT_TIMESTAMP) resp DATEADD(month, -2, CURRENT_TIMESTAMP) and then convert back to your year_month format.
September 21, 2010 at 8:49 am
If I understand correctly, you will need a calendar table which you can join to any DATE or DATETIME column and return the year_month portion accordingly
CREATE TABLE Calendar
(calendar_date DATE NOT...
September 21, 2010 at 7:52 am
It is a matter of taste but usually people are not expecting to find a comma at the beginning of the line in a normal text, so putting the comma...
September 2, 2010 at 8:03 am
Nice one! Why building a complicated database with lots of tables when we can jam everything into one table? 😉
September 1, 2010 at 4:03 am
Is there a way to determine the JobID of the last job based on the DateWorkDone for each CustID in 1 script?
Untestest
SELECT *
FROM
(SELECT RANK() OVER(PARTITION BY CustID...
August 26, 2010 at 6:56 am
You might want to look at the well known ISO 3166 standard for country codes and for locations at the UNECE Locodes which you can find here
It is...
August 26, 2010 at 6:19 am
First I thought, this question would possibly be too easy for the readers, but apparently this was not the case. Presently just 52 % correct answers, where I expected abt....
October 22, 2009 at 7:45 am
Viewing 15 posts - 16 through 30 (of 41 total)