Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with NULLs (retrieve & save)
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Problem with NULLs (retrieve & save)
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01331509
Message ID:
01331509
Vues:
53
Hi everybody,

I added an extra table called Membership to my database. I found that I'm unable to use NULLs for the fields, so I have to convert data to not NULLs. I'm doing this in my SP to retreive data.

But now I'm facing a problem of updating the info. I only want to insert/update record if I put some information. However, how now I can detect if I did make changes or not?

I'm converting bit fields to 0, date to GetDate() and varchar field to ''

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform