| Handling Concurrency and Null Values in ADO.NET Updates |
| Example: The Customers table in the Northwind database has a Region column that accepts strings of up to 15 characters and also accepts Null values. |
| |
| .NET csharp Preventing null propagation |
| 3 posts - 2 authors - Last post: 22 Apr 2007A method that takes these as parameters doesn't need to have a bunch of null argument tests because it knows that it's simply not possible |
| |
| Access queries Tallying Null fields |
| 7 posts - 2 authors - Last post: 25 SepAnd that's the part that I've never done before: how do I tally those null fields as the query reads through the file, and populate that new |
| |
| biztalk general SQL Send Adapter - Null values |
| 9 posts - 4 authors - Last post: 17 Aug 2007Hi, I have a SQL send adapter that calls a stored procedure that expects 32 parameters, all of which can be null. |
| |
| SQL Server programming NULL Date fields |
| 7 posts - 1 author - Last post: 6 Nov 2007This raises the warning causing warning Warning: Null value is eliminated by an aggregate or other SET operation. |
| |
| SQL Server programming !=NULL and <>NULL in SQLServer 2005 |
| 6 posts - 5 authors - Last post: 11 Sep 2007In lot of our code which was written few years before, I see non-standard way of comparing NULL values such as !=NULL and <>NULL. |
| |
| SQL Server programming NULL VALUES |
| 3 posts - 1 author - Last post: 5 Aug 2007Hi, is there anyway of preventing NULL values in a db, what causes them is it the field type etc? I have noticed that not all fields contain |
| |
| .NET csharp Rectangle = null? |
| 5 posts - 1 author - Last post: 12 Aug 2007Why can't I say the following; Rectangle r = null; The compiler tells me that null is a value type and can't be converted to Rectangle. |
| |
| SQL Server programming Re: Avoid Null columns in Table |
| 7 posts - 2 authors - Last post: 11 JulThe simplest is in the table definition itself. CREATE TABLE Foo ( ColumnName varchar(50) NOT NULL ) Rick Sawtell |
| |
| biztalk general SQL Adapter - NULL values |
| 6 posts - 4 authors - Last post: 6 Aug 2007All the fields except the primary key (and one other) may be NULL in the database. The fields that may be NULL are marked as minOccurs="0" |
| |
| SQL Server programming Comparing NULL valued |
| 8 posts - 5 authors - Last post: 14 Jul 2007Hi, Is there any server setting (or database setting) that allows me to compare null values? Something like this: SELECT * FROM EMPLYEES |
| |
| SQL Server programming WHERE clause and NULL values |
| 6 posts - 4 authors - Last post: 22 AugI have this simple query: DELETE FROM MyTable WHERE Field = @field But this doesn't work if @field is NULL. To work around this I thought of |
| |
| SQL Server programming CASE and IS NULL |
| 5 posts - 2 authors - Last post: 14 Dec 2007Are you sure its really a null value and not just blank or something SELECT CASE WHEN COL1 IS NULL THEN 'UNK' When COL1 = 'NULL' THEN 'UNK' |
| |
| SQL Server programming NOT NULL WITH DEFAULT |
| 12 posts - 7 authors - Last post: 30 AugNOT NULL WITH DEFAULT - Aaron Bertrand [SQL Server MVP] ... CREATE TABLE[ TableName ( answer CHAR(3) DEFAULT 'No' NOT NULL CHECK (answer IN |
| |
| SQL Server programming Case When NULL |
| 3 posts - 2 authors - Last post: 21 MayCase Field1 When NULL then 'AddressUpdate' Else Field1 End As MessageType When i do the preceeding I get Null instead of 'AddressUpdate' |
| |
| .NET csharp How to return null from c# class constructor after a ... |
| 10 posts - 8 authors - Last post: 24 MarI would like to return null while creating a new instance of a class and the validation inside the class constructor fails. |
| |
| SQL Server programming varchar not null |
| 3 posts - 1 author - Last post: 30 Nov 2007Hello, just a quick novice question...how would the WHERE clause be written to return rows that contain a value in leaving out the null rows |
| |
| SQL Server programming Unique constraint with multiple NULL's |
| 13 posts - 9 authors - Last post: 31 MayChris See this technique posted by Steve Kass CREATE TABLE dupNulls ( pk int identity(1,1) primary key, X int NULL, nullbuster as (case when |
| |
| SQL Server programming Cannot delete rows using [image] IS NULL |
| 6 posts - 4 authors - Last post: 2 AprThe table contains an image column for which I want to delete all rows that have a NULL value for this column. This works fine until I have |
| |
| biztalk general "null" pipeline component |
| 4 posts - 3 authors - Last post: 5 Jun 2007If you are using a general pipeline component, inside your "Execute" method just "return null;". That will consume the message without |
| |
| SQL Server programming How to compare for the null-ness |
| 9 posts - 4 authors - Last post: 21 FebIs there a way to compare 2 columns if they are both null or both non-null besides the following way? select * from MyTable where ( Column1 |
| |
| .NET csharp Null or empty string in a database |
| 5 posts - 4 authors - Last post: 1 Oct 2007But I must confess I've done a not null on a varchar - just to make sure I always get a string and not a null from the database. |
| |
| Access modulescoding Retuning null from a function? |
| Trouble is, in the fields used as parameters there is somtimes a letters X or U, which are not real grades and sometimes a null if one of the grades is |
| |
| SQL Server programming Re: select all columns that are not null |
| 10 posts - 6 authors - Last post: 15 MayDave Create Table xxtestt1 ( col1 int null, col2 int null, col3 int null, col4 int null) insert into xxtestt1 values(Null,1,Null,NULL) go |
| |
| .NET csharp Object null but read as empty? |
| 3 posts - 2 authors - Last post: 28 Mar 2007ItemArray[j]; the item read from my dataset is null. I check on the next line : if(o!= null) //then do something My prob is the object o is |
| |
| biztalk general Conditional Statement with Null Value |
| 7 posts - 3 authors - Last post: 5 Mar 2007I have a field that I need mapped to the output xml if it is not null. Otherwise , I need to run a custom assembly and map the returned value |
| |
| SQL Server programming Compare varchar(max) with NULL value |
| 7 posts - 3 authors - Last post: 7 MayPromisedDeliveryDateTo,-1) END The coalesce does the trick for determining null values. this works fine. But with a varchar(max) field this |
| |
| SQL Server programming How not to return NULL when no data exist |
| 6 posts - 3 authors - Last post: 29 Aug 2007Now, I need to make a minor modification to the sql query to NOT return rows with NULL value when no data was found for MimeDate and/or |
| |
| SQL Server 2000 Insert NULL into table |
| 6 Sep 2008 ... Insert NULL into table - Saurabh ...... 06-Sep-08 05:20 5:20:03 AM ... USE nvl for null values in DB - kalit sikka 06-Sep-08 05:40 5:40:19 |
| |
| .NET csharp GetMethod() returns null |
| 2 posts - 1 author - Last post: 5 Aug 2007To test it I created the following sample but GetMethod() returns null. Why ? Andrus. using System.Reflection; namespace BlogSample { public |
| |
| SQL Server programming Re: testing for null and not null in case ... |
| 12 posts - 5 authors - Last post: 8 AugYou have to use the searched CASE syntax and use IS NULL to check for NULL values: CASE WHEN activate_date IS NULL THEN 'active next bill |
| |
| .NET csharp Assigning null value to DateTime |
| 3 posts - 2 authors - Last post: 13 Feb 2007Bill Gower schreef: DateTime is a value type so you can't assign null to it. You can assign null to Nullable<DateTime> (DateTime? in c#) |
| |
| SQL Server programming Re: T-SQL Query When String variable is ... |
| 5 posts - 3 authors - Last post: 27 Dec 2007My problem is that sometimes the string variable will have to be null and I don' t know how to word the query so it uses the null value in |
| |
| SQL Server programming UPDATE fields with NULL |
| 3 posts - 2 authors - Last post: 5 Nov 2007I am trying to update some nullable fields in my SQL Server database with NULL, with the following syntax : UPDATE MYTABLE SET MYDATA = NULL |
| |
| SQL Server programming xml vs null value |
| 3 posts - 2 authors - Last post: 11 Jul 2007create table tt ( a varchar(10) not null, b varchar(10) null ) insert into tt values ( '1',null ) select * from tt for xml path result : How |
| |
| SQL Server programming SUSER_SID always NULL ?!? |
| 2 posts - 1 author - Last post: 30 Nov 2007Any ideas why my SUSER_SID(@login) is ALWAYS returning NULL ?!? Machine A: Name: aa Member: WORKGROUP Sql Server 2005 Express Sql Server |
| |
| SQL Server programming null constraint on field |
| 5 posts - 3 authors - Last post: 14 Dec 2007Hi When designing a table i can allow or disallow null values for fields. Is there a way i could do this selective ; example i have a |
| |
| SQL Server programming How to test a NULL column type |
| 4 posts - 3 authors - Last post: 2 Aug 2007Hi, I've several tables, in hundreds, with columns not allowing NULL. Is there a good way to test the column and see if it is defined to |
| |
| windows vista general USB TO SERIAL 232 NULL CABLE |
| 4 posts - 3 authors - Last post: 6 MayI have now vista ,,,but it does not support this sofware ,,,, I was using in xp, any sugestion?USB TO SERIAL 232 NULL CABLE |
| |
| SQL Server programming COALESCEand Non Null Values |
| It works fine and renders the middle initial and and a period if it the userMI field contains a letter or leaves a space if the middle initial is null. |
| |
| windows server general null session |
| 2 posts - 1 authornull session - Ace Fekay [MVP Direcrtory Services]. 22-Sep-08 06:35:19. It really depends on the apps running, services running, etc, and type of clients or |
| |
| SQL Server programming Using UNION to generate view with NULL AS ... |
| 4 posts - 3 authors - Last post: 6 Nov 2007DisplayName AS Admin, NULL AS PowerUser, NULL AS EndUser FROM Application INNER JOIN Application_mm_User ON Application. |
| |
| SQL Server programming Help query null/not null return 0/1 |
| 2 posts - 1 author - Last post: 29 AugCol1=b.Col1 I want the result to be: 1, ABC, 1 2, XYZ, 0 I need the b.Col2 to be zero when the value is null, otherwise 1. Thanks, Lars |
| |
| SQL Server 2000 USE nvl for null values in DB |
| 6 Sep 2008 ... NVL( ) returns eExpression1 if eExpression1 is not a null value. eExpression1 and eExpression2 may be any data type. NVL( ) returns . |
| |
| .NET ADO.NET Linq Using Null FK |
| 2 posts - Last post: 25 SepI have an issue with Linq to SQL using a Null FK. Here is the situation. Two Tables: TableA PKColumn UniqueIdentifier TableB PKColumn int |
| |
| SQL Server programming Force Default value on NOT NULL column when ... |
| 3 posts - 2 authors - Last post: 21 FebHi, i have a table which has several "NOT NULL" columns and a default value for each. In MySQL the default value is used for 'not null' |
| |
| windows server general Null sessions in Wk3 |
| 3 posts - 2 authors - Last post: 15 MarOn W2K Server you had to configure the registry to allow null sessions in order for a program or local service account on another computer |
| |
| internetexplorer general Re: java.lang.NullPointerException: null ... |
| NullPointerException: null pData - Donald Anadell. 01-Oct-08 08:34:37 ... NullPointerException: null pData - mychelerondea. 02-Oct-08 05:05:17 |
| |
| SQL Server 2000 Select not null Columns from a single row |
| Select not null Columns from a single row. mariner Mariner posted at 21-Dec-01 04:47. I have got a table with 50 cloumns I wish to select for a single orw |
| |
| biztalk general Advice for Dummy/Null Port Correlation Needs |
| 7 posts - 5 authors - Last post: 8 Apr 2007In the send pipeline of your dummy port use a custom pipeline component that will consume the outgoing message and return a null, so that no |
| |