asp.net - Null value in SQL Server 2005 table -


i'm using table log has 3 columns:

  • login nvarchar(50)
  • date int
  • logout nvarchar(50)

now if don't enter value logout column, null should stored. me stored " ".

i have given table definition in screenshot 1 , table data in screenshot 2.

enter image description here

enter image description here

may in insert query using insert log (login, date, logout) values(...) , "" value logout field. check insert statement , verify not making mistake.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -