x

New problems. I'll get out all the usernames and passwords on the customers table and registered before 2000, I wrote:


SELECT username, passwd, regdatum
FROM KUNDER
WHERE regdatum < TO_DATE ( '2000-01-01','YYY-MM-DD');

more ▼

asked Sep 26, 2012 at 12:36 PM in Default

avatar image

mallan
50 4 3 4

Forgive me, but what's the question? Also, is this for Oracle?

If you can clarify a little more as to what your question is, we might be able to assist you.

Sep 26, 2012 at 01:35 PM JohnM

Yes, oracle SQL, and I wonderd what´s wrong with my code :-) But a have found the answer, I´m over doing it a little :-)

Sep 26, 2012 at 01:42 PM mallan

Awesome! Can you put the answer down and then mark it as the solution? This will allow others who might be looking for a similar problem to find your solution. Thanks!

Sep 26, 2012 at 01:44 PM JohnM
(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Answer: • SELECT username, passwd, regdatum • FROM KUNDER • WHERE regdatum < '2000-01-01';

more ▼

answered Oct 04, 2012 at 11:12 AM

avatar image

mallan
50 4 3 4

Excellent! Thanks for supplying the answer. Don't forget to mark it as the solution now. Thanks!

Oct 04, 2012 at 12:42 PM JohnM
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x424

asked: Sep 26, 2012 at 12:36 PM

Seen: 537 times

Last Updated: Oct 04, 2012 at 04:49 PM

Copyright 2016 Redgate Software. Privacy Policy