Viewing 15 posts - 136 through 150 (of 273 total)
You can for SQL Server to use a particular index by using 'Index Hints'
For e.g. Select * from Tab_Name WITH (INDEX(Index_lala))
WHERE ColName = 'yoyo'
Sql server might not be using Index...
May 6, 2009 at 12:09 pm
bkana (5/1/2009)
I have to remove certain data from fields in a column called "ExpirationDate" I need to "empty out" the fields that have '12/31/2008' in the field.
There are...
May 1, 2009 at 8:09 am
bkana (5/1/2009)
That worked on my test view, going to run a backup and run it against my working view. While I run the backup could you explain a little...
May 1, 2009 at 8:08 am
See if the below works to get all the dates that you are looking for.
select * from ContactsTest where substring(cast(ExpirationDate as varchar),1,11) = 'Dec 31 2008'
If yes then, you...
May 1, 2009 at 7:04 am
Hello "INFO01", I was following this post and was curious how things r going with ur corrupted Database. Thanks
May 1, 2009 at 6:29 am
Hey Gail,
What client tool r u using to run ur Oracle create scripts? SQL Plus work sheet, Toad or SQL scratch Pad. I just ran ur scripts in SQL Plus...
April 30, 2009 at 3:08 pm
Use the below to get -1
ALTER PROCEDURE [dbo].[InnerSproc]
AS
BEGIN
RAISERROR ('ErrorMessage', 12, 12)
END
Not all errors are trapped by TR/CATCH block. Like compile errors(Syntax errors), Process terminated by KILL command, broken client...
April 30, 2009 at 2:40 pm
The below article takes u step by step towards moving data to a different file group and answers your question about how your data will start moving to new file...
April 30, 2009 at 1:35 pm
If there are too many changes in those tables then may be u can consider having fill factor of 75 to 80, any number that best suites ur purpose.
April 30, 2009 at 1:25 pm
moramoga (4/27/2009)
Mayank Khatri (4/27/2009)
SELECT p.name, SUM(s.cost) AS Software, SUM(cast(isnull(m.cost,0)as int)) AS Material,
SUM(t.cost) AS Travel, SUM(h.cost) AS Hardware
FROM THardware AS h
LEFT OUTER JOIN TProject ...
April 27, 2009 at 1:56 pm
Run Below:
SELECT p.name, SUM(s.cost) AS Software, SUM(cast(isnull(m.cost,0)as int)) AS Material,
SUM(t.cost) AS Travel, SUM(h.cost) AS Hardware
FROM THardware AS h
LEFT OUTER JOIN TProject AS p ON...
April 27, 2009 at 12:09 pm
Excuse me for not understanding the problem correctly, if thats the case then why is that u cant just checks the job and which S.P is being executed bu the...
April 22, 2009 at 12:09 pm
Do u mean All S.P. scheduled to run in ur SQL Server agent?
April 22, 2009 at 8:39 am
How big is ur database? If u have taken full backups of this database, did u take on same drive? The reason I am asking is I had the same...
April 21, 2009 at 2:46 pm
Viewing 15 posts - 136 through 150 (of 273 total)