Viewing 15 posts - 7,411 through 7,425 (of 7,465 total)
nulls are indexed. create a unique index on a nullable column and then try to insert 2 rows with null for that column. In that case null = null.
I...
May 8, 2003 at 12:38 am
check Denormalisation on the web. There a whole set of info needed to take that decision
May 8, 2003 at 12:31 am
create a parameter-table with a column "lastkeyvalue". Read that value for update and than its all up to you. Others cannot reach it until you release it.
That is if you...
May 8, 2003 at 12:19 am
This is how I resync users.
-- login sync
-- print db_name()
use userdb -- User-db
go
print 'print @@servername + '' / '' + db_name()'
print 'go'
go
declare @username varchar(128)
declare @Musername varchar(128)
declare @IsNtName bit
declare @sql_stmt...
April 22, 2003 at 12:17 am
erata : "decoment" should be "document"
/ "relaton" should be "relation" 😉
April 17, 2003 at 7:28 am
assuming a unit has only one "parent"-unit, you could have an entity "company" an other entity "Units" with a relation to "company" and a third entity "UnitRelations" where you decoment...
April 17, 2003 at 7:26 am
In QueryAnalyzer you could you "show execution plan" or "display estimated execution plan".
April 17, 2003 at 7:16 am
SQL2000 ? Make the user DDL-admin in stead of DB_owner. Look at BOL.
April 17, 2003 at 1:56 am
Thanks to implicit conversions. Rule 4 never thrust a default-behaviour. And it strikes when you don't expect it.
April 16, 2003 at 11:59 pm
try it with substring(text,1,case when len(text) > your_max_length then your_max_length else len(text) end.
April 7, 2003 at 8:08 am
If you don't like bulk-insert, you can minimize logging with simple-recovery-setting (sql2k) or truncate-log-on-checkpoint (sql7) when using small transactions. This means you have to chop up your input in chuncks...
March 10, 2003 at 1:08 am
Take a look at sqlserver books online (BOL).
db_datawriter can update all tables in the databasen, except is that user has been denied write rights. look at BOL.
March 5, 2003 at 12:57 am
I know it's primitive, but it works.
set nocount on
go
create table Ttest (id char(29) not null, info varchar(20) not null)
go
insert into Ttest values('10069905,7/31/2002,2020705358','380214 196145 0000')
go
insert into Ttest values('10069905,7/31/2002,2020705358','380214 197183 0000')
go
insert into...
March 5, 2003 at 12:41 am
If nothing found in the KB then I'd go for the working solution. Upgrade to sp2 move the 6.5 dbs and afterwards upgrade to sp3.
February 20, 2003 at 5:46 am
I've installed sql2ksp3 with success, but DTS gave me headaches. All worked but those connecting to DB2 UDB V7.2 (rtm version). Contacted pss and it took a couple of days...
February 20, 2003 at 12:46 am
Viewing 15 posts - 7,411 through 7,425 (of 7,465 total)