Viewing 15 posts - 1,261 through 1,275 (of 3,738 total)
Lynn Pettis (7/22/2012)
if exists(select 1
from sys.indexes i
...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 22, 2012 at 4:26 pm
Yes, but I'm trying to create the Index without error regardless of whether the Index Exists or not.
So correct me but I don't believe that you directly answered my question?
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 22, 2012 at 3:57 pm
I determined that if the Index does not exist you will get the error no matter what.
You have to first create the Index and then execute with that option.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 22, 2012 at 3:09 pm
lokeshvij (7/22/2012)
I tried this on my PC. Same result.Seems to be a limitation of DROP_EXISTING :unsure:
Did it work on not?
I get different results and it appears to be machine dependent.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 22, 2012 at 11:14 am
Whan I said flag them as inactive I dod not mean to store an "Inactive Flag", I mean to indicate that they were inactive as a particular Date, etc.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 21, 2012 at 3:59 pm
Thanks for the responses.
I totally agree and understand that you do not want to delete records but flag them as inactive.
As far as the OUTPUT Clause could you please go...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 21, 2012 at 2:38 pm
richykong (7/20/2012)
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 20, 2012 at 1:52 pm
Sean,
That is a very straight forward script.
Thanks.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 20, 2012 at 1:48 pm
It recovered.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 20, 2012 at 1:06 pm
GilaMonster (7/17/2012)
Expert SQL Server 2005 Development. Not the 2008 one, the 2005 one.
Oh shucks my Student free delivery for FedEx & UPS (United Parcel Service) for two day delivery just...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 17, 2012 at 1:28 pm
I'm looking for a very simple example on Data hashing in SQL Server.
Thanks.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 17, 2012 at 11:26 am
Does someone know of a good white paper on the hash option to encryption?
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 17, 2012 at 7:18 am
I typed 32 GB of memory, it is 4 GB of memory on a 32 bit OS.:w00t:
Thanks for all of the information.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 17, 2012 at 6:57 am
I could do an in Place Upgrade to the OS to Enterprise Edition.
Has anyone tried that and what was the outcome>
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 17, 2012 at 6:27 am
You are getting an error on the ModifiedDate.
A Record(s) in the Source Column for ModifiedDate is too large.
What is the largest value for that column in your flat file.
Have you...
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 16, 2012 at 5:33 am
Viewing 15 posts - 1,261 through 1,275 (of 3,738 total)