Forum Replies Created

Viewing 15 posts - 16 through 30 (of 53 total)

  • RE: Import Excel File to SQL Server

    1) use DTS

    2) use linked server make linked server using following query.

    EXEC master.dbo.sp_addlinkedserver @server = N'EXCEL', @srvproduct=N'E', @provider=N'Microsoft.Jet.OLEDB.4.0', @datasrc=N'c:\Employee.xls', @provstr=N'Excel 8.0'

    /* For security reasons the linked server...

  • RE: sysadmin vs serveradmin

    server admin can log in windows but sys admin log only sql server.

    Sys admin require person on files of server but server can do operation shared files.

  • RE: Linked server error

    DINESH\TEST3=> servername

    dba =>username

    ######## => Password

    then create linked server.

    EXEC master.dbo.sp_addlinkedserver @server = N'DINESH\TEST3', @srvproduct=N'SQL Server'

    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'DINESH\TEST3',@useself=N'False',@locallogin=NULL,@rmtuser=N'dba',@rmtpassword='########'

    GO

    EXEC...

  • RE: Backup failed - no SQL agent job

    Can you check any job schedule on Instance=>Management=>any Job schedule ??

  • RE: sysJobActivity showing jobs from years ago that never ended

    reatart Sql Aget and see.

    Any problem,Let me know.

  • RE: Hiding Databases from users in SSMS

    you can hide system databases => tools -options->open object Exlporer then click on Hide system objects in object Exlorer. resart instance.

    You give user acess to each database by mapping...

  • RE: How to Backup All SQL Server Databases

    Every thing is fine just take backup in COMPRESSION mode.

  • RE: OPENROWSET() Intermittently Fails to Read Excel File

    hi,

    I had check following query it is working,

    select * from OPENROWSET('Microsoft.Jet.OLEDB.4.0',

    'Excel 8.0;Database=c:\Employee.xls;',

    'SELECT * FROM [Sheet1$]')

    If any problem ,Let me know.

    Regards,

    Dinesh

  • RE: Could not allocate space for object because the 'PRIMARY' filegroup is full

    1)Make that database to simple recovery mode.

    2) shrink log file

    3)increase growth percentage

  • RE: Problem With Linked Server

    Hi,

    server name='DINESH\TESTMSSQL'

    loginname='test'

    loginpassword='########'

    replace in following script and use it..

    EXEC master.dbo.sp_addlinkedserver @server = N'DINESH\TESTMSSQL', @srvproduct=N'SQL Server'

    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'DINESH\TESTMSSQL',@useself=N'False',@locallogin=NULL,@rmtuser=N'test',@rmtpassword='########'

    GO

    EXEC master.dbo.sp_serveroption @server=N'DINESH\TESTMSSQL', @optname=N'collation compatible', @optvalue=N'false'

    GO

    EXEC master.dbo.sp_serveroption @server=N'DINESH\TESTMSSQL', @optname=N'data access', @optvalue=N'true'

    GO

    EXEC master.dbo.sp_serveroption @server=N'DINESH\TESTMSSQL', @optname=N'dist',...

  • RE: SQL SERVER services get stopped

    You check server start time and only sys admin can start or stop server.Better way give minimum right to user.

  • RE: Add User Mapping not working

    if there is login exist then delete and add login to corresponding user.

  • RE: view the data from the sysmail_sentitems and sysmail_unsentitems and sysmail_faileditems without giving sysadmin role MSDB databasse

    1) Create login to user.

    USE [master]

    GO

    CREATE LOGIN [mailuser] WITH PASSWORD=N'mailuser',

    DEFAULT_DATABASE=[master], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF

    GO

    2)create addmember for databseMailuser

    USE [msdb]

    GO

    ALTER USER [mailuser] WITH DEFAULT_SCHEMA=[dbo]

    GO

    3)login with mailuser in SSMS

    USE [msdb]

    GO

    EXEC sp_addrolemember N'DatabaseMailUserRole', N'mailuser'

    GO

    select...

  • RE: SQL Exception: Timeout

    1) Check IIS pool is full or not if is make iis restart.

    2) check CPu utilization on server

    3) check all process on ssql server

    4) check error log.

    5) if required check...

  • RE: Profiler Questions

    When you are tracing event on database name ,you see all details like select and all opration on profiler.

Viewing 15 posts - 16 through 30 (of 53 total)