Viewing 15 posts - 31 through 45 (of 111 total)
Rob Schripsema (5/18/2010)
May 18, 2010 at 2:10 pm
Mike01 (5/18/2010)
Also, if a person can only have one address, why would you break it out into 2 tables?
I'm not sure of OP's requirements, but there could be scenarios where...
May 18, 2010 at 11:51 am
Jeff Moden (5/17/2010)
Heh... try the following, Rob...
SELECT ISDATE('2000')
You sure you want that as a valid date?
I had a look at the ISDATE() function ( http://msdn.microsoft.com/en-us/library/ms187347.aspx ) and...
May 18, 2010 at 11:29 am
asita (5/18/2010)
May 18, 2010 at 11:15 am
pattamuthu (5/18/2010)
It doesnt work, when there is no transaction in the table, but other cases are fine.
Any specific reason why you would want the SQL query to return that text?...
May 18, 2010 at 11:08 am
Trey Staker (5/18/2010)
pattamuthu (5/18/2010)
May 18, 2010 at 10:03 am
gupta1282 (5/18/2010)
What to put in server name & port parameters when confuring database mail using microsoft exchange server.
The server name is the SMTP server name and you will...
May 18, 2010 at 9:47 am
asita (5/17/2010)
May 18, 2010 at 8:14 am
John Rowan (5/17/2010)
rjv_rnjn (5/17/2010)
I would suggest trying this (on a separate set of data first)
update TestTable set myDate = convert(varchar(20), getdate()-3,101)
where myDate <= '01/01/1753'
This will not work. Your...
May 17, 2010 at 3:45 pm
I am a programmer first, so I would think of writing a file parsing routine in a .Net language (VB/C#) and then reference the library to retrieve the parsed resultset...
May 17, 2010 at 3:40 pm
I would suggest trying this (on a separate set of data first)
update TestTable set myDate = convert(varchar(20), getdate()-3,101)
where myDate <= '01/01/1753'
May 17, 2010 at 3:23 pm
I think your statement at the end of your post skipped my eyes. Apologies :blush:
May 17, 2010 at 3:13 pm
And just in case you were wondering why is "08/31/0002" an invalid date time: it's because the earliest date you can store in SQL2K5 is Jan 01, 1753:
May 17, 2010 at 3:10 pm
I would guess one of the columns in your update statements are being used as part of an index. If so, this forces the index to be re-built after the...
May 17, 2010 at 1:33 pm
I always have a "Table Designer" menu item whenever I'm in table design mode without any toolbar setting.
A relatively easy start to the week. 🙂
May 17, 2010 at 7:53 am
Viewing 15 posts - 31 through 45 (of 111 total)