Viewing 15 posts - 1 through 15 (of 17 total)
Hi Niall,
R u looking for the sql query with case else end clause?
Nivedita
September 1, 2005 at 8:07 am
I am able to. I tried joing the sql server to the webserver domain as well. Still it is not connecting to sql server.
Nivedita
May 13, 2005 at 3:06 am
Hi Sivaprasad,
Thanks for your prompt reply.
I tried these options but I am not able to connect. I am in total mess now. Please help me out
Thank you
Nivedita Thomas
May 13, 2005 at 1:25 am
Hi,
Please check the sql statement given below.
SELECT table1.field1, table1.field1, table2.field2
FROM table1 , table2
WHERE table1.field1 *= table2.field1
AND table2.field2 = (case when table2.field2 is null then null else 2004 end)
Hope this helps.
Nivedita...
September 3, 2004 at 4:05 am
Hi Jeff,
What is the error the you are getting? I have never encountered such a scenario. Ofcourse using xml will reduce the performance when the hit rate is very high.
Nivedita...
August 17, 2004 at 4:30 am
Hi,
Do u mean sp_MShasdbaccess? I doubt there is any system sp named sp_MSdbuseraccess. Can u pls tell me which version of SQL you are using?
Nivedita Sundar.N
August 17, 2004 at 4:12 am
Hi Florenzano,
You can disable the logshipping job by disabling the job entry in the primary server.
Hope this answers ur query.
Nivedita Sundar.N
August 17, 2004 at 3:58 am
Hi David,
Do you really need all these headaches? The query given below will give you desired output if you replace getdate() function with the date you want.
select
July 26, 2004 at 11:34 pm
Hi,
Try the code given below.
DECLARE @filterCriteria varchar
DECLARE @filterCMD varchar
declare @sql1 nvarchar(200)
set @filterCriteria = 'w'
IF @filterCriteria LIKE 'W'
set @filterCMD=' DESCRIP LIKE ''%closed%'' or DESCRIP LIKE ''%deny%'' or DESCRIP like ''%withdrawn%''...
July 23, 2004 at 7:29 am
Hi Ravi,
The truncate option wont work for columns with dependencies. The DBCC CHECKIDENT will work.
Nivedita Sundar.N
July 22, 2004 at 11:29 pm
Hello,
Hope this is the solution that u r looking for
SELECT DISTINCT SO.name
FROM sysobjects SO
JOIN syscomments SC
ON SO.id = SC.id
WHERE SC.text LIKE '%SHIPPING_TOTAL%' and so.xtype='P'
ORDER BY SO.name
Nivedita Sundar.N
July 22, 2004 at 7:19 am
Hi Ravi,
You can change the seed value of identity column by using the statement
DBCC CHECKIDENT ('table_name', RESEED, new_reseed_value)
By using the truncate command the identity column is reset to...
July 22, 2004 at 6:58 am
Dear Mr.Raj,
The below solution is not the best solution available. But it certainly produces the desired results when the max source values for each item is 4.
insert into destination_table(item, source1,...
July 20, 2004 at 11:48 pm
U can automate the backup using the maintenance plan wizard in which u can schedule at what interval a backup has to be taken. The backup files wont be overwritten or replaced....
May 7, 2004 at 3:38 am
Will this work?
SELECT MTFOptionID, MTFOption,
(SELECT b. MTFOption
FROM table1 b
WHERE b.MTFOptionID = a.MTFOptionID +
((SELECT MAX(MTFOptionID)
FROM table1) / 2)) AS fld4
FROM dbo.Table1 a
WHERE (MTFOptionID <=
(SELECT MAX(MTFOptionID)
...
March 22, 2004 at 1:49 am
Viewing 15 posts - 1 through 15 (of 17 total)