join the MSSQLTips community

MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

 
Browse by Tags - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

Browse by Tags

All Tags » sql2005 (RSS)
  • Automated Email with Excel Sheet Atatchment

    I wanted to know if we can automate the SQL process at particular time everyday sending an email with Excel Document attachment. I have a SQL Statement which will provide a particular result, which I want to see and would like to email directly to xyz, abc person automated process in excel format. Please...
    Posted to Forum by Monil on 02-23-2010
  • RESTORE

    Hi, I have taken the full backup of ABC database from SQL Server 2005 and I want to restore in SQL Server 2000. But I am not able to restore, it gives me an error 3241: The media famil on device 'D:\...\ABC.bak' is incorrectly formed. SQL Server cannot process this media family. RESTORE FILELIST...
    Posted to Forum by Monil on 02-16-2010
  • Data Conversion in SQL Server 2005

    Hi, I have one table and need to move all data to other 3 tables in different database tables. Eg: Database: ABC TableABC 1 - (Last Name, First Name, Address, Phone No.) to Database: XYZ TableXYZ 1 - (Last Name, First Name) TableXYZ 2 - (Address, Phone No). In TableXYZ 1 and TableXYZ 2 there are also...
    Posted to Forum by Monil on 01-22-2010
  • Re: Backup failed for Server 'ServerName' (Microsoft.SqlServer.Smo) Incorrect function

    dguillory, Have you tried the code in this tip - http://www.mssqltips.com/tip.asp?tip=1070 . Thank you, The MSSQLTips Team
    Posted to Forum by admin on 10-19-2009
  • Re: Lock in Select statement

    Thanks for the reply again!!! Ok Sir let me say in detail what we want. The table is filled by one application and after it fills other application comes and starts accessing the records. In this application we are having multiple threads to make the process fast and it does not matter how the records...
    Posted to Forum by jankhana@cdtech.in on 07-28-2009
  • Re: Lock in Select statement

    Thanks for the reply. I need the select statement as I need that record in my application so I need the select statement. And sir right now my table doesn't have any primary key nor the clustered index. I need to get the record from the table based on the PersonName and not the primary key. The table...
    Posted to Forum by jankhana@cdtech.in on 07-28-2009
  • Re: Lock in Select statement

    Thanks sir for your reply. I have used rowcount because i'm having in mytable one lakh record and I want to use just 5 records per thread and for the same I'm going for multi threaded application and hence I'm using rowcount so that it will retriev just five or one records depending onthe...
    Posted to Forum by jankhana@cdtech.in on 07-27-2009
  • Lock in Select statement

    Hi all, I'm using SQL 2005. I want to establish a lock in the select statement. For the same i've made a procedure as follows: " CREATE procedure [dbo].[Select_SendNo5ByPersonName](@PersonName nvarchar(50)) as begin set rowcount 1 select * from SendNo where PersonName = @PersonName delete...
    Posted to Forum by jankhana@cdtech.in on 07-27-2009
  • Select Query

    Question: Hi, I have a database having more than 300 tables.The Structure of all the tables are same. I want to execute a select query which give output of all columns from all the 300 tables. E.g All the tables contain Employee Name, Employee id, Joining Date ,....................... so i want all the...
    Posted to Forum by hkhan on 06-04-2009
  • Need to find out what DBs a USER does NOT have access to

    This gives me what I want - if I want to really work hard at matching them up IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.db_names') AND type in (N'U')) create table dbo.db_names (NAME varchar(50)) go truncate table dbo.db_names go with DBs(NAME) AS ( SELECT...
    Posted to Forum by EJSecrist on 04-28-2009
Page 1 of 2 (20 items) 1 2 Next >