Oracle ve MSSQL 'da NULL'ın farklı davranışı

by Nurgün Özgür 1. September 2009 20:24

Oracle ve MSSQL'da NULL farklı davranır. Her iki veritabanı için yazan arkadaşların

buna dikkat etmesi gerekiyor.

Örnek:

MSSQL

 

create table Customer(FirstName varchar(20))

Oracle

create table Customer(FirstName varchar2(20))

örnek tabloları yarattıktan sonra insertları yapalım

insert into Customer(FirstName) values ('Neva')

insert into Customer(FirstName) values ('')

insert into Customer(FirstName) values (NULL)

 

select * from  Customer where FirstName is null

üsteki select MSSQL da sadece bir sonuç döndürecek

Oracle da ise iki satır dönecek. Buna dikkat edelim.

 

Tags: , , , ,

MS SQL | Oracle

Comments

9/1/2009 9:49:17 PM #

Neva

Baba, bana cep telefonu al!

Neva Turkey | Reply

12/10/2009 3:15:53 PM #

payday loans

Hmmm interesting stuff

payday loans United States | Reply

3/6/2010 1:25:53 PM #

Daniel Millions

Have your thought about adding some social bookmark buttons to your site? You should at least add one for Digg so we can digg you up!

Daniel Millions United States | Reply

3/7/2010 2:06:24 AM #

stock charts

Can I quote you on my website if I link back to your blog?

stock charts United States | Reply

3/16/2010 8:27:36 AM #

loans for people with bad credit

Finally someone that actually knows what they are talking about - thank you!

loans for people with bad credit United States | Reply

3/23/2010 5:30:51 PM #

metal roofing materials

Great article I've just added to my bookmark list.

metal roofing materials Poland | Reply

4/4/2010 2:22:18 AM #

online game

hey pal, valuable blog post! Pls continue this great work!!!

online game United States | Reply

4/4/2010 5:20:03 PM #

posadzki przemysłowe

I would equal to add your journal to my blogroll gratify bowman me what mainstay should I use?

posadzki przemysłowe Poland | Reply

4/23/2010 5:07:30 PM #

cordless phone

How did you get to be this good?  Its amazing to see someone put so much passion into a subject.  Im glad I came across this.  Im glad I took the time to read on past the first paragraph.  Youve got so much to say, so much to offer.  I hope people realise this and look into your page.

cordless phone United States | Reply

4/23/2010 5:07:30 PM #

cordless phone

How did you get to be this good?  Its amazing to see someone put so much passion into a subject.  Im glad I came across this.  Im glad I took the time to read on past the first paragraph.  Youve got so much to say, so much to offer.  I hope people realise this and look into your page.

cordless phone United States | Reply

4/24/2010 8:32:42 AM #

online loans

It is an ironic habit of human beings to run faster when we have lost our way.

online loans United States | Reply

4/25/2010 5:39:39 AM #

dehumidifier

Oh my goodness!  Youre so right!  I really dont think anyones put it that way before!  You must be an expert on this because you just made it so easy to understand, made me want to learn more about it!  Do you, like, study this subject because you seem to be so in tune with the issue?  Keep it up, man.  Youve got a great mind for it!

dehumidifier United States | Reply

4/25/2010 6:23:27 PM #

Does Magic Of Making Up Work

How did you get to be this good?  Its amazing to see someone put so much passion into a subject.  Im glad I came across this.  Im glad I took the time to read on past the first paragraph.  Youve got so much to say, so much to offer.  I hope people realise this and look into your page.

Does Magic Of Making Up Work United States | Reply

4/27/2010 11:46:47 PM #

Rapidshare

I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!

Rapidshare United States | Reply

4/28/2010 1:38:40 AM #

Share your Recipe

Im a huge fan already, man.  Youve done a brilliant job making sure that people understand where youre coming from.  And let me tell you, I get it.  Great stuff and I cant wait to read more of your blogs.  What youve got to say is important and needs to be read.

Share your Recipe United States | Reply

4/30/2010 11:41:43 PM #

pastillas adelgazar

What I want to know is why you didnt think to include the other side of this issue?  There are so many things that youre missing here that I dont see how you could actually form an intelligent opinion on the subject.  Its like you didnt even consider that there me be another side here.  Im kind of disappointed.

pastillas adelgazar United States | Reply

5/3/2010 2:26:37 AM #

free business cards

What you said made a lot of sense.  But, think about this, what if you added a little content?  I mean, I dont want to tell you how to run your blog, but what if you added something to maybe get peoples attention?  Just like a video or a picture or two to get people excited about what youve got to say.  In my opinion, it would make your blog come to life a little bit.

free business cards United States | Reply

5/3/2010 5:41:40 AM #

wedding anniversary gifts by year

Good luck getting people behind this one.  Though you make some VERY fascinating points, youre going to have to do more than bring up a few things that may be different than what weve already heard.  What are trying to say here?  What do you want us to think?  It seems like you cant really get behind a unique thought.  Anyway, thats just my opinion.

wedding anniversary gifts by year United States | Reply

5/27/2010 7:55:51 PM #

appliances

This is the perfect blog for anyone who wants to know about this topic.  You know so much its almost hard to argue with you (not that I really would want...HaHa).  You definitely put a new spin on a subject thats been written about for years.  Great stuff, just great!

appliances United States | Reply

5/28/2010 8:41:03 PM #

Best Treatment for Anxiety

This blog has definitely changed my perspective on this subject.  Theres no way I wouldve thought about it this way if I hadnt come across your blog.  All I was doing was cruising the web and I found your blog and all of a sudden my views have changed.  Good on you, man!

Best Treatment for Anxiety United States | Reply

5/29/2010 10:35:32 PM #

auto insurance cincinnati

Hi there.  I really appreciate the points you made.  I dont think Ive actually thought about it in that way.  I can really appreciate how you approached the subject matter and what you said really gave me a new perspective.  Thanks for taking the time to write this all out.

auto insurance cincinnati United States | Reply

5/31/2010 11:49:38 PM #

profit instruments

Is this  true?.

profit instruments United States | Reply

6/1/2010 4:34:04 AM #

Browser

Sorry for the huge review, but I'm really loving your new site, and hope this, as well as the excellent reviews some other people have written, will help you decide if it's the right choice for you.

Browser United States | Reply

6/1/2010 8:13:43 AM #

mens wrangler jeans

Dont take this the wrong way, but youre totally boring me here.  Dont get me wrong, I think what you have to say is valid...totally!  But, youve got to give me something to think about that involves images.  You know what they say, -A picture is worth a thousand words.-  You could cut down on the words if you just gave me a few pictures.

mens wrangler jeans United States | Reply

6/2/2010 3:41:18 AM #

registry cleaner reivew

It was some good information that you posted.

registry cleaner reivew United States | Reply

6/2/2010 3:24:23 PM #

play skill games

hey buddy, magnificent blog post.. please continue this great work..

play skill games United States | Reply

6/2/2010 6:51:28 PM #

Firestorm SEO

Valuable thoughts here. Are you satisfied this is the exact way to look at it though? My personal experience is that we should pretty much live and let live because what one person considers just -- another person simply does not. People are going to do what they want to do. In the end, they always do. The best we can hope for is to point out a few things here and there that hopefully, allows them to make just a little better informed decision. Otherwise, great post. You're definitely making me think! --Bob

Firestorm SEO United States | Reply

6/3/2010 1:15:46 AM #

sklep internetowy

This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It?s the old what goes around comes around routine.

sklep internetowy United States | Reply

6/3/2010 9:54:27 AM #

ATTORNEY ISSAQUAH

Great stuff from you, man.  Ive read your stuff before and youre just too awesome.  I love what youve got here, love what youre saying and the way you say it.  You make it entertaining and you still manage to keep it smart.  I cant wait to read more from you.  This is really a great blog.

ATTORNEY ISSAQUAH United States | Reply

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Nurgün Özgür

Facebook

 

Nurgün Özgür Photo

1993'ten bu yana profesyonel olarak yazılım ve sistem yönetimi konularında çeşitli yerli ve yabanci kuruluşların farklı kademelerinde aktif olarak yer aldım. 2011 yılında emekliliğe ayrıldım.

 

Valid XHTML 1.0 Transitional


Tag cloud


Facebook ile giriş