Forum Replies Created

Viewing 15 posts - 12,496 through 12,510 (of 13,460 total)

  • RE: Alter table Data Type

    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


    --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!

  • RE: Test connectivity from a web server to a back-end SQL server?

    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


    --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!

  • RE: Microsoft OLE DB Provider for ODBC Drivers error ''''80040e14''''

    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


    --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!

  • RE: Login Problems

    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


    --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!

  • RE: Urgent: Installing SP4 on Server with REPL

    thanks for the correction Steve; i never get to play with replication, but I try to read about it here.

     

    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!

  • RE: Problems with an Update Statement containing an inner join within DB2

    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


    --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!

  • RE: Querying a table repeatedly

    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!

  • RE: advice on altering a table

    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


    --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!

  • RE: Full text index

    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


    --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!

  • RE: Problems with an Update Statement containing an inner join within DB2

    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


    --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!

  • RE: Easiest way to convert an integer into a hexadecimal presentation

    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


    --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!

  • RE: Update Statement with an inner join in DB2

    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


    --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!

  • RE: Urgent: Installing SP4 on Server with REPL

    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


    --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!

  • RE: Problems with an Update Statement containing an inner join within DB2

    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


    --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!

  • RE: Copy of SQL Server 7.0

    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


    --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!

Viewing 15 posts - 12,496 through 12,510 (of 13,460 total)