Friday, July 30, 2010

Make a blogging application

No comments:
--The following query tells you how to make a small blog with comment feature.
--create table articles
CREATE TABLE [dbo].[articles]
(
[id] [int] IDENTITY(1,1) NOT
NULL,
[title] [varchar](100) NOT
NULL,
[article] [text] NOT
NULL,
)
--create table comments
CREATE TABLE [dbo].[comments]
(
[id] [int] IDENTITY(1,1) NOT
NULL,
[article_id] [int]
NULL,
[title] [varchar](50)
NULL,
[comment] [text]
NULL,
)
--to see an article with all its comment
select 'articles' as
rowtype
, articles.
id
, articles.
title
, articles.
article
from
articles
where articles.id =
1
union all
select
'comments' as
rowtype
, comments.
id
, comments.
title
, comments.
comment
from
articles
inner
join
comments
on comments.article_id = articles.
id
where articles.id =
1
order
by
rowtype

Monday, July 26, 2010

WISE DOCTOR:::::::::::

2 comments:
A Wise Doctor

What an interesting way to put it!

A worried woman went to her gynecologist and said:
'Doctor, I have a serious problem and desperately need your help!
My baby is not even 1 yr. old and I'm pregnant again.
I don't want kids so close together.'

So the doctor said: 'Ok, and what do you want me to do?'

She said: 'I want you to end my pregnancy, and I'm counting on your help with this.'

The doctor thought for a little, and after some silence he said to the lady:
'I think I have a better solution for your problem. It's less dangerous for you, too.'

She smiled, thinking that the doctor was going to accept her request.
Then he continued:
'You see, in order for you not to have to take care of 2 babies at the same time, let's kill the one in your arms. This way, you could rest some before the other one is born. If we're going to kill one of them, it doesn't matter which one it is. There would be no risk for your body if you chose the one in your arms.

The lady was horrified and said: 'No doctor! How terrible! It's a crime to kill a child! 'I agree', the doctor replied. 'But you seemed to be ok with it, so I thought maybe that was the best solution. The doctor smiled, realizing that he had made his point. He convinced the mom that there is no difference in killing a child that's already been born and one that's still in the womb.

The crime is the same!

Monday, July 19, 2010

Historic photographs

No comments:
Please don't forget to read the letter in the end
Just read what INDIA was as per LORD MACAULAY on his statement on 2nd February 1835, in the last snap.  That would really shock us Old Photographs from Indian History.  Please Read the last Article Carefully……
The daughter of an Indian maharajah seated on a panther she shot, sometime during 1920s. 
ATT00003
A British man gets a pedicure from an Indian servant.
ATT00005
The Grand Trunk Road , built by Sher Shah Suri, was the main trade route from Calcutta to Kabul .
ATT00009
A group of Dancing or notch girls began performing with their elaborate costumes and jewelry.
ATT00008
A rare view of the President's palace and the Parliament building in New Delhi .
ATT00001
Women gather at a party in Mumbai ( Bombay ) in 1910.
ATT00007
A group from Vaishnava, a sect founded by a Hindu mystic. His followers are called Gosvami-maharajahs
ATT00006
An aerial view of Jama Masjid mosque in Delhi , built between 1650 and 1658.
ATT00004
The Imperial Airways 'Hanno' Hadley Page passenger airplane carries the England to India air mail, stopping in Sharjah to refuel.
ATT00010



See what the India was at 1835.......
ATT00002

Wednesday, July 14, 2010

Advanced SQL Query ...................

No comments:

Wedding Query........ ........ (SQL Style)

HUSBANDS QUERY
CREATE PROCEDURE MyMarriage (
BrideGroom Male (25) ,
Bride Female(20) )AS
BEGIN


SELECT 
Bride FROM india_ Brides
WHERE
 FatherInLaw = 'Millionaire'

AND Count(Car) > 20 AND HouseStatus ='ThreeStoreyed'
AND 
BrideEduStatus IN (B.TECH ,BE ,Degree ,MCA ,MBA) AND Having Brothers= Null AND Sisters =Yes
J



SELECT
Gold ,Cash,Car,BankBalance

FROM FatherInLaw

UPDATE MyBankAccout

SETMyBal = MyBal + FatherInLawBal


UPDATE
MyLocker 

SET MyLockerContents = MyLockerContents + FatherInLawGold


INSERT INTO
 MyCarShed VALUES('BMW')
END
GO 

wife writes the below query:
DROP HUSBAND;
Commit;
J

  


--
With Warm Regards,
Jerome Jackson Rodrigues
http://rodriguesjax.blogspot.com
https://twitter.com/rodriguesjax

Searching 4 an Answer!!!

No comments:

if u got it already..read once more...


         *Don't miss even a single word...** **Too good** *

An atheist professor of philosophy speaks to his class on the problem
science has with God, The Almighty.
He asks one of his new students to stand and.....

Prof:
So you believe in God?

Student:

Absolutely, sir.

Prof

: Is God good?

Student:

Sure.

Prof:

Is God all-powerful?

Student

: Yes.

Prof:
My brother died of cancer even though he prayed to God to heal him.
Most of us would attempt to help others who are ill. But God didn't. How is
this God good then? Hmm?

(Student is silent.)

Prof:
You can't answer, can you? Let's start again, young fella. Is God good?

Student:

Yes.

Prof:

Is Satan good?

Student

: No.

Prof:
Where does Satan come from?

Student:

From...God...

Prof:
That's right. Tell me son, is there evil in this world?

Student:

Yes.

Prof:
Evil is everywhere, isn't it? And God did make everything. Correct?

Student:

Yes.

Prof:

So who created evil?

(Student does not answer.)

Prof:
Is there sickness? Immorality? Hatred? Ugliness? All these terrible things
exist in the world, don't they?

Student:

Yes, sir.

Prof:

So, who created them?

(Student has no answer.)

Prof:
Science says you have 5 senses you use to identify and observe the world
around you.
Tell me, son...Have you ever

seen God?

Student:

No, sir.

Prof:
Tell us if you have ever heard your God?

Student:

No, sir.

Prof:
Have you ever felt your God, tasted your God, smelt your God? Have you ever
had any sensory perception of God for that matter?

Student:
No, sir. I'm afraid I haven't.

Prof:
Yet you still believe in Him?

Student:

Yes.

Prof:
According to empirical, testable, demonstrable protocol, science says your
GOD doesn't exist.
What do you say to that, son?

Student:
Nothing. I only have my faith.

Prof:
Yes. Faith. And that is the problem science has.

Student:
Professor, is there such a thing as heat?

Prof:

Yes.

Student:
And is there such a thing as cold?

Prof:

Yes.

Student:
No sir. There isn't.
(The lecture theatre becomes very quiet with this turn of events.)

Student
: Sir, you can have lots of heat, even more heat, superheat, mega heat,
white heat, a little heat or no heat.
But we don't have anything called cold. We can hit 458 degrees below zero
which is no heat, but we can't go

any further after that.
There is no such thing as cold . Cold is only a word we use to describe the
absence of

heat
. We cannot measure cold. Heat is energy . Cold is not the opposite of heat,
sir, just the absence of it .
(There is pin-drop silence in the lecture theatre.)

Student:
What about darkness, Professor? Is there such a thing as darkness?

Prof:
Yes. What is night if there isn't darkness?

Student :
You're wrong again, sir. Darkness is the absence of something. You can have
low light, normal light, bright
light, flashing light....But if
you have no light constantly, you have nothing and it's called darkness,
isn't it? In
reality, darkness isn't. If it were you would be able to make
darkness darker, wouldn't you?

Prof:
So what is the point you are making, young man?

Student:
Sir, my point is your philosophical premise is flawed.

Prof:
Flawed? Can you explain how?

Student:
Sir, you are working on the premise of duality. You argue there is life and
then there is death, a good God and a bad God. You are viewing the concept
of God as something finite, something we can measure. Sir, science can't
even explain a thought. It uses electricity and magnetism, but has never
seen, much less fully understood either one.To view death as the opposite of
life is to be ignorant of the fact that death cannot exist as a substantive
thing. Death is not the opposite of life: just the absence of it.
Now tell me, Professor.Do you teach your students that they evolved from a
monkey?

Prof:
If you are referring to the natural evolutionary process, yes, of course, I
do.

Student:
Have you ever observed evolution with your own eyes, sir?
(The Professor shakes his head with a smile, beginning to realize where the
argument is going.)

Student:
Since no one has ever observed the process of evolution at work and cannot
even prove that this process is an on-going endeavor, are you not teaching
your opinion, sir? Are you not a scientist but a preacher? (The class is in
uproar.)

Student:
Is there anyone in the class who has ever seen the Professor's brain?
(The class breaks out into laughter.)

Student
: Is there anyone here who has ever heard the Professor's brain, felt it,
touched or smelt it? No one appears to have done so. So, according to the
established rules of empirical, stable, demonstrable protocol, science says
that you have no brain,sir.
With all due respect, sir, how do we then trust your lectures, sir?
(The room is silent. The professor stares at the student, his face
unfathomable.)

Prof:
I guess you'll have to take them on faith, son.

Student:
That is it sir... *The link between man & god is FAITH *. That is all that
keeps things moving & alive.

NB: I believe you have enjoyed the conversation...and if so...you'll
probably want your friends/colleagues to enjoy the same...won't you?....
this is a true story, and the

*student was none other than......... *

..

.

.

..

.

.

.

.

..

.
*APJ Abdul Kalam**, *the former president of India.
orwardSourceID:NT0000767E
ForwardSourceID:NT00006736
ForwardSourceID:NT000025


--
" When U fall, don't see the place where U fell, instead see the place from
where U slipped. Life is about Correcting Mistakes ".

--
With Warm Regards,
Jerome Jackson Rodrigues
http://rodriguesjax.blogspot.com
https://twitter.com/rodriguesjax