Forum Replies Created

Viewing 15 posts - 76 through 90 (of 104 total)

  • RE: Error while importing an Access table to SQL Server 2005

    Hi

    I got the mistake,

    In another execution of package I got error in

    ADate Column,

    I changed the datatype from datetime to nvarchar(100) and imported the tabel to SQL

    and in SQL I came...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    It all sounds a bit like hard work; there might be a simpler way,

    Yes I too think there is a much simpler way

    for example using extended attributes of the...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    AndyD (2/9/2009)


    A basic test would be to import a table from an Access DB, which you have created to include the columns and data that you want to check.

    In MSSQL...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    AndyD (2/9/2009)


    Always a possibility!!! All I can suggest is that you run some tests.

    Andy

    Hi Andy, this is what I needed.

    Some tests in the sense which kind of test?

    How can...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    AndyD (2/9/2009)


    I'm sure there are docs out there to help with importing from Access. I haven't done it for a while, so I created a demo table in Access 2003...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    AndyD (2/6/2009)


    As you have to EXEC a snippet of SQL code (hmmm, unless you updated the schema tables directly....), probably easier to run this in a Cursor. May not be...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    AndyD (2/6/2009)


    I think you'll have to write some CASE logic around the information held in:

    select TABLE_NAME, COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS where DATA_TYPE = 'ntext'

    Andy

    Yes Andy,

    I am doing the same...

    Can you tell...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: ntext to nvarchar(max)

    hkphooey (2/5/2009)


    Hi

    Would this give what you need?:

    selectcol1,

    col2,

    cast(col3 as nvarchar(max)) as col3,

    col4

    intodbo.TableB

    fromdbo.TableA

    Alun

    yes this will do for the table given.

    but what if the ntext column is in different position?

    I am trying to...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: How to check the correctness of the data imported

    Michael Earl (1/30/2009)


    Without defining "correctness" there is little to tell you.

    SSIS and MSSQL will verify that your data matches the data types in your desintation table and error if the...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: Comparing tables in Access and SQL

    Hi,

    I just linked the access table to SQL Server 2005

    exec sp_addlinkedserver @server='AccessDb',

    @srvproduct='Access',

    @provider='Microsoft.Jet.OLEDB.4.0',

    @datasrc='C:\TEMP\csd.mdb'

    exec sp_addlinkedsrvlogin @rmtsrvname='AccessDb',

    @useself='false',

    @rmtuser='Admin',

    @rmtpassword=''

    I can see the tables and views in the access using

    sp_tables_ex 'AccessDb'

    and see...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: Is BIDS available in SQL Server 2005 STANDARD Edition?

    I think the link is

    http://msdn.microsoft.com/en-us/library/ms143761(SQL.90).aspx

    All the features are listed here for all editions

    Thanks

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: joining of two tables

    Ramesh (1/16/2009)


    Not working this query ...are you sure does it works!?

    Actually, something has ate-up my code....:D:D, missed the table in LEFT JOIN....

    its wrking used the same query olny retrived distinct...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: joining of two tables

    Abhijit More (1/16/2009)


    its wrking used the same query olny retrived distinct records from tmpPoj..:)

    SELECT tmp.PojID, tmp.Cat,

    ...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: joining of two tables

    Abhijit More (1/16/2009)


    here's your answer...

    DROP TABLE tmpPoj

    DROP TABLE tmpCat

    CREATE TABLE tmpPoj

    ( PojID INT, Cat VARCHAR(10), Total INT )

    CREATE TABLE tmpCat

    ( CatIDINT, Cat VARCHAR(10) )

    INSERTtmpPoj

    SELECT1, 'A', 1 UNION

    SELECT1, 'B', 2 UNION

    SELECT2,...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • RE: Need help in creating a back end support for a new project

    Chirag (12/23/2008)


    Hi

    Iam afraid you will have to write your own storedproc/ trigger. I cant do that for you. If you know oracle then doing it in SQL should not be...

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

Viewing 15 posts - 76 through 90 (of 104 total)