Viewing 15 posts - 226 through 240 (of 331 total)
Hi
Declare @temp table (Rid int identity,Name varchar(50),fdate datetime, todate datetime)
insert into @temp
Select 'A','10-12-2010','10-18-2010'
Union Select 'B','09-06-2010','09-13-2010'
Union Select 'C','08-30-2010','09-03-2010'
declare @i int ,@diff int ,@k int ,@Name varchar(50)
set @i=1
While @i<=(Select COUNT(rid) From...
Thanks
Parthi
October 6, 2010 at 2:24 pm
Lowell (10/6/2010)
there are two different downloads for 2005 vs 2008 though, both...
Thanks
Parthi
October 6, 2010 at 12:30 pm
gmamata7 (10/6/2010)
My question is wrong. Actually, I'm trying to restore a SQL Server 2008 database backup into a SQL Server 2005 instance and getting the error above mentioned. Is...
Thanks
Parthi
October 6, 2010 at 11:33 am
cbalasuriya (10/6/2010)
Can someone please tell me if value1 and 2 are on same table how to get a result sets similar to
F ---> A and A ---> B...
Thanks
Parthi
October 6, 2010 at 11:25 am
hi
Try with this
RESTORE VERIFYONLY
from disk = 'D:\Backups\MyDB_10-06-2010.BAK'
Your version of SQL Server may be a lower version than the client's and a restore to a lower version is not supported.
The...
Thanks
Parthi
October 6, 2010 at 11:06 am
laddu4700 (10/6/2010)
In our development server, I want to give only read and execute permissions to developers. I was checking below two database roles. But I don't want my developers to...
Thanks
Parthi
October 6, 2010 at 8:27 am
barry.smallman (10/6/2010)
Thanks
Parthi
October 6, 2010 at 7:57 am
LIYA (10/6/2010)
i have a table with following structure
CREATE TABLE [dbo].[DateFormat](
[WDate] [smalldatetime] NULL
) ON [PRIMARY]
insert into DateFormat
select '2010-06-18 07:33:17' union all
select '2010-06-18 07:40:18' union all
select '2010-06-18...
Thanks
Parthi
October 6, 2010 at 6:42 am
Alvin Ramard (10/5/2010)
There's a number of books that are good references for what you're looking for. If you're...
Thanks
Parthi
October 5, 2010 at 3:22 pm
Alvin Ramard (10/5/2010)
you could start here: http://technet.microsoft.com/en-us/library/ms141026.aspx
Hi
Thanks for your response,i need to have examples for each and every item, this will come under help itself but. I...
Thanks
Parthi
October 5, 2010 at 3:07 pm
pankaj.kuchaliya (10/5/2010)
I have some doubt about , how to save the query output in excel file.
suppose when i fire this query from query window.
select 1 as 'd','pankaj' as 'name'
then...
Thanks
Parthi
October 5, 2010 at 1:16 pm
Hi,
By default, msdb uses the simple recovery model. If you use the backup and restore history information in msdb when you recover user databases, it is recommend...
Thanks
Parthi
October 1, 2010 at 2:19 pm
blacklabellover2003 (10/1/2010)
Hi all,Any idea how to do this? I copied data from a table and inserted in into another with the same column names.
Cheers,
Jim
Hi
How about this...
Thanks
Parthi
October 1, 2010 at 12:48 pm
Hi
Try this out
CREATE PROCEDURE usp_DiskFreeSpaceAlert
@DriveCBenchmark int = 1024,
@OtherDataDriveBenchmark int = 2048
AS
-- This procedure sends out an alert message when hard disk space is below a predefined value. This...
Thanks
Parthi
October 1, 2010 at 7:18 am
Hi
Not clear what you are trying to ask but to find the current identity of the table use
declare @tablname varchar(100)='CustomerInfo'
Select IDENT_CURRENT(@tablname)
if your need to added assign...
Thanks
Parthi
September 30, 2010 at 9:11 am
Viewing 15 posts - 226 through 240 (of 331 total)