Viewing 15 posts - 25,231 through 25,245 (of 49,552 total)
Excellent. Take a careful read through my blog post (referenced above) to make sure you're not opening yourself to SQL Injection vulnerabilities. There are ways to do this with dynamic...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 10:43 am
Think it works in R2. Not 100% sure
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 8:05 am
p.s. Store dates in a datetime. You're setting yourself up for a world of pain by storing it as a char. Doesn't matter that it's passed as a string, SQL...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 7:28 am
It wasn't SQL telling you the column was invalid, had you run the insert it would have run just fine. It was just Management Studio's Intellisense. It doesn't update after...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 7:27 am
Edit -> Intellisense -> Refresh Local Cache
(or Ctrl-Shift-R)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 7:15 am
opc.three (7/2/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 6:54 am
Craig Farrell (7/2/2011)
Jeff Moden (7/1/2011)
djackson 22568 (7/1/2011)
While it is true that these MAY NOT be opposites, for most managers they are.
I have to disagree with that, as well. I've...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2011 at 5:22 am
SQLRNNR (7/1/2011)
I'd also recommend checking out the MCM Videos.
Those might be a little (ok a lot) advanced for someone doing a ITP bootcamp
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 1:36 pm
Thanks everyone. Wasn't actually planning on announcing it here.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 1:25 pm
GSquared (7/1/2011)
GilaMonster (7/1/2011)
Gus, you own me a new keyboard!GSquared (7/1/2011)
I must be misunderstanding you. I've never before seen someone recommend hypocrisy before without it being essentially sarcastic.
Assuming "own" =...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 11:02 am
GSquared (7/1/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 11:00 am
No. Not with a table this narrow. If I was doing indexing work, that one would be on my list to drop without serious concern.
Just do a check (query sys.sql_modules)...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 10:58 am
krish.sett (7/1/2011)
Hi Gail Shaw,So you mean to say its another way of appling unique constrain ...?
Exactly.
The only differences between unique index and unique constraint is the way they appear in...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 10:55 am
Gus, you own me a new keyboard!
GSquared (7/1/2011)
I must be misunderstanding you. I've never before seen someone recommend hypocrisy before without it being essentially sarcastic.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 10:53 am
In this particular case there are very few advantages to having that exact index, seeing as the table is so small. Swapping the columns around (col4, col1) however could be...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 1, 2011 at 10:50 am
Viewing 15 posts - 25,231 through 25,245 (of 49,552 total)