473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Re: default value wich is not in DDL.

lopina (iv*********@email.t-com.hr) writes:
I trying to put Null default value wich is not in DDL.

Because when user not select value from DDL that records not saved in SQL
base.

I hope You understand what I mean
I'm afraid I don't really get your problem. This is legal:

create table ferenc (a int NULL DEFAULT NULL)

Then again, even without an explicit default value of NULL, NULL will be
the default for a nullable column.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #1
2 1691
Hello!!!

I made table 1 in SQL with this values (1, 2, 3, 4, 5).
In web deweloper I made form with dropdownlist1 and in menu of that
dropdownlist i have values from table1.

Sometimes user doesnt have to choose values from ddl1, in that case other
values from Form1 are not saved in SQL database.

I hope You understand me now.

best regards
lopina

"Erland Sommarskog" <es****@sommarskog.sewrote in message
news:Xn*********************@127.0.0.1...
lopina (iv*********@email.t-com.hr) writes:
>I trying to put Null default value wich is not in DDL.

Because when user not select value from DDL that records not saved in
SQL
base.

I hope You understand what I mean

I'm afraid I don't really get your problem. This is legal:

create table ferenc (a int NULL DEFAULT NULL)

Then again, even without an explicit default value of NULL, NULL will be
the default for a nullable column.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Jun 27 '08 #2
lopina (iv*********@email.t-com.hr) writes:
I made table 1 in SQL with this values (1, 2, 3, 4, 5).
In web deweloper I made form with dropdownlist1 and in menu of that
dropdownlist i have values from table1.

Sometimes user doesnt have to choose values from ddl1, in that case other
values from Form1 are not saved in SQL database.

I hope You understand me now.
I don't know Visual Web Developer, and you may better off asking in a
newsgroup that deals with Visual Web Developer.

So with DDL you meant "Dropdownlist"? That is quite confusing, because
in the SQL world, DDL stands for Data Definition Language, that is the
statements you use to create tables.

When you say "I made table 1 in SQL with this values (1, 2, 3, 4, 5)",
I have very little idea what you mean, because you don't create tables
by giving values. Probably you are using some designer that I have no
idea what it's doing. So a forum for Visual Web Developer may be a better
place to ask. They may understand what you are doing.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: massimo874 | last post by:
Please some one can tell me wich is the SQLPlus default script directory an how I can set it. I tryed by 'Define' but SQLPlus don't find the scripts I give it in input. WinXP, ORACLE 9i.
1
by: R.G. Vervoort | last post by:
I would like to make a script wich makes a select visible or not visible depending on what radio button is selected. If the radiobutton with the value "nieuw" is selected the pulldown is not...
9
by: Bob Bedford | last post by:
I've a form that use a combobox along with other fields. When the user submit the form, many tests are done. If any test fails, then I show the form again with previously entered values. My...
14
by: TonyK | last post by:
Hello fellow Access-users, I am struggling with the following problem: I have a Table wich has an id, code and name of a person I would like to insert records in another Table called History...
2
by: Mirovk | last post by:
Hi, I have a session variable wich value arrives from a previous .asp but in my actual page I need to modify it based upon a selected value from a radio button. I will try to figure out for...
7
by: MrNobody | last post by:
I am having alot of difficulty with text files in .NET when they have special characters like í, ó, ç etc... When i read a text file with them and then write it back out it ignores all of...
3
by: artev | last post by:
in the default sort which is the compare function used? alphabetical ordination is so:arry.sort(); but which is the default function used? is there a good link wich example for alphabetical...
4
by: djpaul | last post by:
Hello, I have a database (mysql) with a lot of music in it. Now i have wrote a page where users can request a song and it plays it automatically. But, i don't want to have that somebody is...
8
by: zaankanter | last post by:
Hi, This is my problem. A form (startform) is opened, wich is based on a table, called programvariables. This is supposed to be a one-record table, wich will hold some values needed to store...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.