Viewing 15 posts - 47,131 through 47,145 (of 49,571 total)
No arrays. Some people use XML, but that can get messy.
If you go into a bit more detail on what you're doing, maybe we can suggest an alternative.
March 25, 2008 at 4:46 am
Buxton69 (3/25/2008)
Marios Philippopoulos (3/20/2008)
I googled "trace flag 1118" and this was at the top of the list:PRB: Concurrency enhancements for the tempdb database
support.microsoft.com/kb/328551
But none relating to the proportional-fill process.
From what...
March 25, 2008 at 4:39 am
Koji Matsumura (3/25/2008)
SELECT roll, MAX(sname) FROM Table ORDER BY roll
SELECT roll, MAX(sname)
FROM Table
GROUP BY roll
ORDER BY roll
March 25, 2008 at 3:35 am
Probably very easy, but I do need a bit more info.
For Roll 1 you have sNames of 'aa', 'bb' and 'cc' Why is 'aa' the one you want returning, not...
March 25, 2008 at 1:54 am
rbarryyoung (3/20/2008)
March 25, 2008 at 12:45 am
Could you post the definition of cc_message and its indexes (assuming it is a table). Could you also give us an indication of how many rows are in the table...
March 25, 2008 at 12:11 am
This will get it for you. I don't know if there's a way to tie the name back to the creating SPID though. don't think so.
SELECT * FROM tempdb..sysobjects WHERE...
March 25, 2008 at 12:06 am
Can you post the execution plan for us please (saved as a .sqlplan file, zipped and attached)?
March 25, 2008 at 12:03 am
Could you post the table's create script, some sample data and expected output please.
See here - Forum Etiquette: How to post data/code on a forum to get the best...
March 24, 2008 at 2:25 pm
Sure we can help. But first we need to know why the database is suspect. Please have a look in the SQL Server error log. There will very likely be...
March 24, 2008 at 2:06 pm
Is it a permanent table you're getting that message for, or a temp table?
If permanent, check that auto_create_statistics is on for that database
March 24, 2008 at 2:04 pm
Timestamp values are unique within a database
Books Online
March 24, 2008 at 2:00 pm
From what I remember, there are a number of requirements for indexing computed columns, regardless of what's in the column or what it's called. Similar to the requirements for indexed...
March 24, 2008 at 1:58 pm
ALTER TABLE #ACCOMPLISHMENTS
ADD CONSTRAINT PKCURSOR PRIMARY KEY (PROGRAM_YEAR, ACTIVITY_CODE)
When you create a temp table, SQL server hashes the name so that there's...
March 21, 2008 at 3:03 pm
GSquared (3/21/2008)
(There's gotta be a way to test that hypothesis. Time for some research and testing.)
I can confirm your theory. I've seen (On this forum in fact) a deadlock...
March 21, 2008 at 2:38 pm
Viewing 15 posts - 47,131 through 47,145 (of 49,571 total)