Viewing 15 posts - 121 through 135 (of 181 total)
Application/database design and development is an iterative process. Don't expect to get each piece 100% complete or 100% correct on the first pass...it is generally not realistic. As...
March 10, 2008 at 6:21 am
Adam Angelini (3/7/2008)
Since the syscomments table can only hold 4000 characters, some stored procedures will be split into multiple records. if this split happens to fall in the middle of...
March 7, 2008 at 4:03 pm
Rick Harker (3/7/2008)
What does the current day of the month have...
March 7, 2008 at 12:26 pm
Hugo Kornelis (3/7/2008)
I picked an answer on each QotD from the very first that was available on the site when I first got here, on to the last. Except...
March 7, 2008 at 9:30 am
But you have to test birthdates that are today, tomorrow, yesterday, January 1, April 21, February 29, November 3, etc...
...because your code has to work 100% of the time!
March 7, 2008 at 8:45 am
I got it to work, but had to move the condition to the 'FROM'
SELECT a.return_indic,
COALESCE (b.rate_quote_id, '0') AS rate_quote_id
FROM Customer_rate_quote_account_test a
LEFT OUTER JOIN Customer_rate_quote_return_test b
ON (a.cust_id = b.cust_id)
AND...
March 7, 2008 at 7:54 am
Hugo Kornelis (3/7/2008)
(still waiting for a correct answer to be added so that I can finally get back to my track record of 100% of all QotD's attempted)
Hugo Kornelis (3/7/2008)
March 7, 2008 at 7:45 am
I couldn't get any of answers to work 100% of the time...
Here is what I came up with...
declare @dateofbirth datetime
select @dateofbirth = '03/08/1962'
select DATEDIFF(yy, @dateofbirth, GETDATE())
-...
March 7, 2008 at 5:52 am
I love this line...note the 'now'...
ucan15 (3/6/2008)
A strong knowledge of Exchange 2007/2003 is now more of an advantage
...it is an advantage NOW because the last guy who had NO knowledge...
March 7, 2008 at 5:29 am
sampathsoft (3/6/2008)
ex-
SELECT RefNumber, ProjectName, Type,...
March 7, 2008 at 4:53 am
John Rowan (3/6/2008)
COALESCE (r.rate_quote_id, '0') AS rate_quote_id
FROM Customer_rate_quote_account a
LEFT OUTER JOIN Customer_rate_quote_return r
...
March 6, 2008 at 6:47 pm
l.g.oxyer (3/5/2008)
'printToDebugWindow(SQLUpdateQuery)
Have you tried to run the SQL (should be the output of your print statement above) directly in the database, not...
March 6, 2008 at 6:09 pm
nbraasch (3/6/2008)
SELECT Customer_rate_quote_account.return_indic,
COALESCE (Customer_rate_quote_return.rate_quote_id, '0') AS rate_quote_id
FROM Customer_rate_quote_account LEFT OUTER JOIN Customer_rate_quote_return
ON (Customer_rate_quote_account.cust_id = Customer_rate_quote_return.cust_id)
WHERE (Customer_rate_quote_account.cust_id = 1117)
AND (Customer_rate_quote_return.rate_quote_id = 1800450)
Try checking the joined table value for...
March 6, 2008 at 2:58 pm
In your SELECT, try this...
select 'href' + columnname
from sometable
March 6, 2008 at 1:25 pm
Why not hire some poor slob who knows little about SQL Server (as opposed to a SQL Server Guru)...
...that way they won't have to worry about any 'best practices' or...
March 6, 2008 at 1:10 pm
Viewing 15 posts - 121 through 135 (of 181 total)