Viewing 15 posts - 34,546 through 34,560 (of 59,099 total)
The supposed cost of a query frequently has nothing to do with its actual performance. Your best bet is to setup SQL Profiler to monitor the real use of...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 8:04 pm
wmedernach (3/20/2011)
In the 'real data' I have _many_ names in this table, and the timestamps aren't...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 7:50 pm
wmedernach (3/20/2011)
Thanks michaelAdrianJohnson for the information.Warren M
Again I ask... how many names do you have in your real table and will the number of names ever increase? If the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 3:05 pm
Craig Farrell (3/20/2011)
but it's still just an identity() column in an odd order.
I absolutely agree except for one thing... my solution isn't self-maintaining. An IDENTITY column is and, therefor,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 2:14 pm
bitbucket-25253 (3/20/2011)
Craig Farrell (3/20/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 2:11 pm
henryvuong1000 (3/20/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 1:58 pm
wmedernach (3/19/2011)
I'm looking for suggestions on how to create a query to structure some time series data.
The data looks something like this:

Is this possible with the Pivot command?
Thanks for...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 1:25 pm
FredS-1001785 (3/18/2011)
No, I am searching for the one character long string '#'
What do you want to do when you find the character more than once? Are you simply looking...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 1:24 pm
johnsql-193053 (3/20/2011)
GilaMonster (3/20/2011)
What does your testing show? Have you looked at the execution plans, duration and IO statistics of each?The 4 queries return the same result like:
SKUGroupIDSKUMain
S20003120003S200031
M20003220003S200031
T20003320003S200031
A10092110092A100921
B10092210092A100921
G30005130005G300051
You asked which is...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 1:20 pm
joshtheflame (3/19/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2011 at 11:20 pm
a.rajmane (3/19/2011)
Nice and useful script.The same approach is used to find number-of-string-occurrences-with-in-a-string
look at here.
Thanks for the feedback and the link.
In reference to that link for finding the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2011 at 10:44 pm
But that's no reason to not use a function for something not included or even contrary to established documentation especially if it greatly simplifies the resolution to a problem or...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2011 at 10:31 pm
Best_boy26 (3/19/2011)
I have a SQL Table.
And I have written againest of it lot of math Calculations and for each calculations I created views and finally I joined all...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2011 at 9:57 pm
I can't help here but I have to ask... why would anyone store either XML or HTML in a database?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2011 at 9:52 pm
jcrawf02 (3/18/2011)
Daniel Bowlin (3/18/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2011 at 11:23 pm
Viewing 15 posts - 34,546 through 34,560 (of 59,099 total)