Viewing 15 posts - 12,496 through 12,510 (of 13,460 total)
the way to do it is with the ALTER TABLE ALTER COLUMN command:
example:
create table test (testid int,testcol float);
exec sp_help test;
alter table test alter column testcol decimal;
exec sp_help test;
drop table test;
now...
Lowell
August 15, 2007 at 12:38 pm
a simple asp web page like this would work; change the connection info toyour page, put it somewhere on the web server and browse to that page:
<!DOCTYPE...
Lowell
August 15, 2007 at 12:21 pm
I'm betting it has to do with dynamic sql; also "Primary" should be in single, not double quotes, right?
if you add one of the many split function examples here on...
Lowell
August 15, 2007 at 11:47 am
I'm confused about what you mean when you said "I go to my site, it asks me for a local user account"
Are you sure it's SQL server that is asking...
Lowell
August 15, 2007 at 11:27 am
thanks for the correction Steve; i never get to play with replication, but I try to read about it here.
Lowell
August 15, 2007 at 9:27 am
since this is db2 instead of sql, does that mean the idsdemo.FFIITMAP is not databasename.tablename? so the tablename has a period in it? ie [idsdemo.FFIITMAP]
if that's true, then we'd just...
Lowell
August 15, 2007 at 8:55 am
not enough info to really help yet helen.
the real table definition is much more helpful, as well has the name /definition of the table you are "merging" it with, ie
Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
August 15, 2007 at 8:42 am
I'm going to agree with you...it's common to see bit fields keeping track of attributes, when more properly it should be one-to-many tables.
you could envision that if you had to...
Lowell
August 15, 2007 at 8:35 am
the full text catalog is not stored in the database, but actually separately on the server i believe.
as a result, you need to deploy the database, and after restoring it...
Lowell
August 15, 2007 at 8:30 am
wierd...it's ok syntax wise, so I suspect is has to do with teh multi-part-name.
I'd suggest aliasing the table to fix it:
Update idsdemo.FFIITMAP
set idsdemo.FFIITMAP.FFIHGTH = A.CFFIHGTH
From idsdemo.cubiscan A
WHERE ltrim(rtrim(A.CFFIITMN)) =...
Lowell
August 15, 2007 at 8:26 am
john i must be reading your post all wrong... for me, if i was going to present int's as hex, I'd do the following:
select convert(varbinary,7) ,'note said --> E0 (hexadecimal...
Lowell
August 15, 2007 at 8:22 am
no need to cross post the same question in different forums. the Active Topics shows all new stuff.
continue and answered here:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=390752
Lowell
August 15, 2007 at 8:15 am
i'm sure I remember someone posting that you want to upgrade the receiver(s) of the replication prior to upgrading the publisher. other than that I do not remember any issues.
Lowell
August 15, 2007 at 8:12 am
the table idsdemo.FFIITMAP is already part of the query, so you don't want to say FROM <itself>
you want to say FROM <other table> and then add the join conditions.
I...
Lowell
August 15, 2007 at 8:08 am
SQL 2000 /2005 is backwards compatible with SQL7, so I'm not sure why you think you have to use 7...you can set db compatibility to 70 and use 2000 or...
Lowell
August 14, 2007 at 3:24 pm
Viewing 15 posts - 12,496 through 12,510 (of 13,460 total)