Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 2,462 total)

  • RE: How to Import data from Excel to Table and Export data table to excel

    chandrasekaran.ganapathy (4/6/2010)


    SELECT * INTO XLImport3 FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0',

    'Data Source=C:\testing.xls;Extended Properties=Excel 8.0')...[Table1$]

    See this is happening because you have placed your excel in C: drive "C:\testing.xls" , put it in folder and then...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to Import data from Excel to Table and Export data table to excel

    have you tried them ? did you get any error ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to Import data from Excel to Table and Export data table to excel

    refer these links also

    http://sql-server-performance.com/Community/forums/t/10004.aspx

    http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/77b86d4e-5322-4611-97f6-49e5e2013ee9

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to Import data from Excel to Table and Export data table to excel

    chandrasekaran.ganapathy (4/5/2010)


    I am getting this error.

    Msg 7314, Level 16, State 1, Line 1

    The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" does not contain the table "Table1$". The table either...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: how can i do this convert

    Jeff Moden (4/5/2010)


    Bhuvnesh,

    I'm not taking a jab at you... I have to ask, though... how often do you find it necessary to split something longer than 8K bytes? There's...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: very busy disk

    But i still didnt understand why zenoss taking heavy RAM usage because i always heard that these type of third party monitoring tools take less resources.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: very busy disk

    CirquedeSQLeil (4/3/2010)


    I'm glad you guys suggested this. I think this is the most probable candidate.

    Did you catch the culprit ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: transfer (new/modified) jobs from server A to B

    dallas13 (4/2/2010)


    But support team is adding/modifying these jobs on server-A.

    We have to make sure that jobs on both servers are identical all

    the time.

    What kind of chages support team do ?

    if...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: results per db

    jsb12 (4/4/2010)


    Does the 'sp_msforeachdb' just return results run against each database?

    The Stored Procedure (SP), "sp_MSforeachtable," allows you to easily process some code against every table in a single database....

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: how can i do this convert

    Another approach

    CREATE FUNCTION [dbo].[uf_utl_SplitNString]

    (

    @InStr nvarchar(max) = null ,

    @token nvarchar(4000) = ','

    )

    RETURNS @RtnElement TABLE ( item nvarchar(4000))

    AS

    BEGIN

    declare @pos int, @tokenlen int,...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to Import data from Excel to Table and Export data table to excel

    1.You can use the SQL Server integration services ( sql 2005 ) or DTS ( sql 2000) to import Excel data into SQL Server tables.

    2.Use Distributed QueriesIf you do...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Job Failed wil Warning BUT Success from Query Analyzer

    Mike Levan (4/3/2010)


    SET ANSI_WARNINGS ON

    @paul-2 : Still can we expect ANSI_WARNINGS OFF ?

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Could not run BEGIN TRANSACTION in Database

    Refer this http://sqlserverpedia.com/wiki/Db_Config_-_Emergency_Mode_Option

    i dont think you can recover it u need to restore it

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How to improve this sp performance? Thanks.

    where dbo.fnGetDateDiff(m.id) <= case when @day = 0 then 365 else @day end

    it will force the optimizer NOT to use seek operation.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Best way to copy records with Identity columns

    Paul White NZ (4/2/2010)


    mike 11318 (3/31/2010)


    I need to copy (or duplicate) a set of records for CompanyA and create a set of records for CompanyB

    One simple approach is to script...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 1,936 through 1,950 (of 2,462 total)