Viewing 15 posts - 4,246 through 4,260 (of 6,036 total)
NULLIF(FieldName, '')
May 29, 2007 at 5:02 am
Yes, I saw that typo when I posted the query but did not bother to update the post.
And it's good that I would fail the test.
Because if you don't...
May 28, 2007 at 11:18 pm
And to finalize it:
#Work must permanent table populated/updated when a new row is saved in "Header" table.
Then you'll not gonna have any problems with building SELECTs and providing best performance.
May 28, 2007 at 7:59 pm
Different number of columns depending on a parameter value?
Well, I guess no optimisation could let that project survive till real amounts of data will arrive.
It will always stay on...
May 28, 2007 at 6:55 pm
If you don't specify the version that means it must work on EVERY version, not only the one you know.
May 28, 2007 at 4:19 pm
Unfortunately your solution does not run in SQL Server, at least in any of SQL Server installations we use for real product development.
SQL Server 2005 is not still an industry...
May 28, 2007 at 3:44 pm
Are you sure the code you wrote is written in SQL?
And front end envionmen is single user one.
That's a difference between it and databases.
Try to imitate 10 users run and...
May 28, 2007 at 2:36 pm
> Wrong! If it takes a bit longer to write scalable code that won't need to be changed, it's worth and extra minute or two for a piece of...
May 28, 2007 at 1:51 pm
Jeff, a little note:
there was no requirement for proper commenting, there was a requirement for 2 min solution.
Cannot say about anybody else, but my typing would not give me a...
May 28, 2007 at 5:02 am
You should not search in ntext field.
It's not a SQL Server job.
You should split Job Descriptions into parts you are interested in when you are saving it. And save...
May 27, 2007 at 11:51 pm
BTW, the question itself is so "front end"! ![]()
The whole nature of a professional database developer protests against mixing different datatypes in one column....
May 27, 2007 at 11:16 pm
1st of all - my query DOES NOT return an error.
Try before you say.
2nd, if I would include new table into my solution I would separate CREATE TABLE statement from...
May 27, 2007 at 10:48 pm
It's funny nobody, even author, mentioned an obvious solution:
SELECT
ISNULL(
NULLIF(
CASE WHEN Number % 3 = 0 THEN 'Bizz' ELSE '' END +
CASE WHEN Number % 5 = 0...
May 27, 2007 at 9:45 pm
Viewing 15 posts - 4,246 through 4,260 (of 6,036 total)