Viewing 15 posts - 47,446 through 47,460 (of 49,571 total)
Kenneth Fisher (2/6/2008)
Honestly sounds really cool, and really scary at the same time :).
It's both. We've had one incident when one of my colleagues detached the database that the trigger...
February 6, 2008 at 10:26 pm
Yup. Petty much.
I'd definitly suggest you see if she can get some SQL training, formally or informally. How long's it going to be before she does something like write an...
February 6, 2008 at 5:43 am
No. It's a query hint. It must be applied to a query, not a storedProc. It only applies to the query it's part of.
SELECT Lots, of, columns
FROM ReallyBigTable
WHERE...
February 6, 2008 at 5:15 am
A small nonclustered index (like what I suggested) shouldn't take too long. A clustered index will take a while. Depends on the hardware and the memory available how long
If you...
February 6, 2008 at 5:07 am
You could insist that she adds OPTION (MAXDOP 1) to the end of each of her queries. Not ideal, but it might work.
You can use the governor that's in SQL...
February 6, 2008 at 4:30 am
No indexes and 2 million rows. Ouch. Does the table have a primary key?
I can suggest an index that is almost guaranteed to make this view faster. However, it's not...
February 6, 2008 at 4:17 am
Possibly someone formerly or currently on the dev team would know. There doesn't seem to be much available on the internals of statistics
February 6, 2008 at 3:47 am
Please don't post in caps. It's the online equilalent of shouting, and it's kinda hard to read.
Could you please post the definition of the view, the schema and indexes of...
February 6, 2008 at 2:30 am
May I ask why you're interested?
In SQL 2005, all the implementation details of stats are hidden. On SQL 2000 it was possible to see the statsblob (an IMAGE column...
February 6, 2008 at 2:27 am
How about just
update header set Siebeltransnumber = CONVERT (char(6),h.trans_date,12)
+substring (h.trans_number, patindex('%[^0]%', h.trans_number), 20)
where Siebeltransnumber IS NULL
The reason you're getting errors is that SQL was trying to evaluate the subquery...
February 6, 2008 at 2:24 am
Placing hints without using WITH is deprecated syntax. SQL 2000 does allow hints to be placed without using WITH. SQL 2005 does not
February 6, 2008 at 2:07 am
Refer to OP's other post on this please- Reindexing and defragmentation (SQL 2000)
Apparently server is 2000, post was initially in wrong forum.
February 5, 2008 at 11:57 pm
Can you post the update statement that you're trying to run?
February 5, 2008 at 11:53 pm
Transactions by themselves don't cause locks or force locking modes. They just mean that a number of statements are treated like a single statement.
Temp table names don't clash with other...
February 5, 2008 at 11:47 pm
If you're on SP2, use a login trigger. I've got one on my main server to prevent exactly this - users logging in using accounts they're not supposed to.
Short sample...
February 5, 2008 at 11:43 pm
Viewing 15 posts - 47,446 through 47,460 (of 49,571 total)