Viewing 15 posts - 76 through 90 (of 208 total)
Global warming is a problem. It comes due to:
- some events on the sun
- high emission of greenhouse gases, one of them is CO2, but there are many other like...
October 30, 2008 at 11:58 am
Oil companies forsake all alternatives, as they cut profits. Care for profits is above everything. I don't mean just alternatives for fuel (ethanol, hydrogen from plants) and energy (wind, solar,...
October 30, 2008 at 3:01 am
I, as dba, developer and designer, reject requests that would compromise usability, integrity, security or would unnecessarily complicate GUI, data model or both.
The most recent was like this: two fields...
October 24, 2008 at 3:41 am
Jack, to my dismay, you're absolutely right. Raiserror in this form is just a message and execution continues normally.
I uncommented Select 'test' and added return 1 after raiserror and both...
October 15, 2008 at 1:47 am
Jack Corbett (10/14/2008)
Robert,
Thanks for the comment. I believe you are incorrect in stating that the transaction will not fail on an error with the trigger. An error in...
October 14, 2008 at 4:41 pm
UNION ALL simply concats the results, UNION removes the duplicates, the best way to do it is to sort the result, so NULLs come first.
Try this:
SELECT 3 UNION SELECT...
October 14, 2008 at 1:25 am
Good article. I have a small correction. If the after trigger fails (or raises an exception), it does not fail the transaction. The client must handle it.
A well behaved client...
October 14, 2008 at 1:03 am
Luke L (9/23/2008)
sales_in_no >= 199901 AND sales_in_no <= 199701
Reordered that becomes
EDIT: modified due to GT LT tags getting stripped out.sales_in_no <= 199701...
September 23, 2008 at 1:10 pm
You mean this?
select * from sales where (sales_id = 1123013 AND sales_in_no between 199901 AND 199701)
This query returns no data. I suggested using between as it's more obvious that bounds...
September 23, 2008 at 7:24 am
GilaMonster (9/22/2008)
September 22, 2008 at 3:18 am
psangeetha (9/19/2008)
select * from sales where (sales_id = 1123013 AND sales_in_no >= 199901 AND sales_in_no <= 199701)
This is the output I get from the execution...
September 22, 2008 at 2:10 am
It's like the question: What is the color of apples?
a) some are red, some are green
b) some are red, some are yellow
c) partly red, partly green
d) brown
Which answer is 100%...
September 19, 2008 at 7:30 am
I wondered how it was done (in earlier post in this thread), and it was explained. So, I've just tested it - and it works.
Ups, right. My apologies.
Nice trick....
July 13, 2008 at 7:21 am
"A coworker prank where the error text was directly typed into the Result Messages tab"
What? Can't do.
you can write some text there, but not in red. The "correct" explicitly says...
July 13, 2008 at 1:58 am
SQL injection attack can do anything. If it inserted blanks to columns, well, it looks too harmless. However, removing all blanks from all text columns would most probably do even...
July 7, 2008 at 12:40 am
Viewing 15 posts - 76 through 90 (of 208 total)