Viewing 15 posts - 106 through 120 (of 1,553 total)
Ok, could you then please give an example on what this table of yours look like?
A few rows of sample data and the expected output you need from that data.
/Kenneth
November 12, 2007 at 1:44 am
You may find your way to your answers here:
/Kenneth
November 8, 2007 at 8:47 am
Yes, what Matt is suggesting would probably do the trick.
Perhaps set up a job that runs this query once in the morning a half hour or so before office opens.
Then...
November 8, 2007 at 8:42 am
Very generally speaking, the consensus is that having a ci is a 'good thing'.
So, the 'starting assumption' is then - yes, you want them.
Naturally, as with all 'rules' there are...
November 8, 2007 at 5:21 am
What you describes sounds typically as a 'cold cache'.
The first time, no data is in the data cache, so it has to be read from disk.
After this first time, there...
November 8, 2007 at 1:52 am
As a preparation for when the time comes to actually do this in a real live scenario, you may also do it without clicking away in Management Studio, but in...
November 8, 2007 at 1:36 am
Must be 🙂
And your fine example served to demonstrate exactly what?
How to write
INSERT t1 (a) SELECT 'a'
INSERT t1 (a) SELECT 'b'
INSERT t1 (a) SELECT 'c'
INSERT t1 (a) SELECT 'd'
..but...
November 1, 2007 at 6:39 am
Hmm... First there's a whole lot of flack about not being 'set oriented',
not knowing SQL etc etc, and now you're posting something that loops
dealing with one row at a time..?...
November 1, 2007 at 2:43 am
Sergiy (10/30/2007)
Kenneth Wilhelmsson (10/30/2007)
I'll just quote it from the guys who wrote the stuff we're all using:Nobody is perfect.
Oh, I totally agree. Not even you, then?
Don't ever copy someone's words...
October 31, 2007 at 2:49 am
I'll just quote it from the guys who wrote the stuff we're all using:
-- quote --
INSERT queries that use SELECT with ORDER BY to populate rows guarantees how identity values...
October 30, 2007 at 7:12 am
Sergiy (10/29/2007)
We did not compare INNER JOIN on my machine to OVER on Matt's one. Matt did...
October 30, 2007 at 5:31 am
Greg Snidow (10/29/2007)
Could someone, maybe in laymens terms, explain how you are testing these queries. This is something with which I have never been concercned because my tables are...
October 29, 2007 at 6:27 am
vinuraj (10/29/2007)
Thing is the Sort Order is Default then no need for ascending sort again.
If you're referring to Matt's test script, the third test, then that is correct in that...
October 29, 2007 at 6:24 am
vinuraj (10/29/2007)
There is no need of Order by clause if ur default sort order is ascending.
This is incorrect.
If you in anyway depend on a certain sortorder, you *must* specify an...
October 29, 2007 at 5:28 am
Jeff Moden (10/29/2007)
October 29, 2007 at 5:25 am
Viewing 15 posts - 106 through 120 (of 1,553 total)