SELECT COUNT( [shipno] )
FROM [DKSS].[dbo].[fixcardshipno] where shipno like 'DB%' ----290524
and shipno like '%[^A-z0-9]%'
SELECT COUNT( [shipno] )
FROM [DKSS].[dbo].[fixcardshipno] where shipno like 'DB%' ----290524
and shipno like '%[^A-z0-9]%'
在使用TableAdapter作Query時發生 1. 原因為有些資料欄位Query出來後為null值 但是該欄位在dbDataSet的屬性AllowDBNull為False 因此把該欄位(或乾脆把全部欄位屬性AllowDBNull改為True 2. maxLength 檢...