Viewing 15 posts - 44,956 through 44,970 (of 49,571 total)
For info on execution plans, there's a great book available from redgate (free when you download an evaluation of any of their tools) on reading execution plans.
Or you can...
August 20, 2008 at 1:56 am
Anirban Paul (8/20/2008)
August 20, 2008 at 1:45 am
bodhilove (8/19/2008)
Hi Folks,is there any way you can view the sql log (the one under management in SSMS) from the command line?
It's a simple text file and will open in...
August 20, 2008 at 1:36 am
I think the problem is those 00000000 values. They aren't convertable to datetime.
Try this
update tablename set newcolumn=CAST(oldcolumn AS DATETIME) WHERE ISDATE(oldcolumn)=1
August 20, 2008 at 12:35 am
bhuvnesh.dogra (8/19/2008)
can anyone tell how " _" is being treated in LIKE keyword. ??
A couple people already have.
As I said, back in my reply to your first...
August 20, 2008 at 12:19 am
There aren't before triggers in SQL Server. Look up the Instead Of trigger in Books online for the other kind of trigger.
August 20, 2008 at 12:15 am
Here's a link to the other thread.
http://www.sqlservercentral.com/Forums/FindPost554864.aspx
Ashwin: It's prefered if you don't create multiple postings on the same subject, as it tends to result in people spending time answering questions...
August 19, 2008 at 3:43 pm
How are you viewing the number of work tables created? Perfmon?
Work tables are created by the query processor in order to process certain query constructs (sorts, hashes, I think spools,...
August 19, 2008 at 3:34 pm
@@Error is what you're looking for.
One thing to be careful of is that @@Error contains the status of the last statement. Every single statement within SQL (including things like...
August 19, 2008 at 10:14 am
The account that's used to start SQL isn't the one that SQL runs under. If you go into the SQL Server configuration manager you can set the account that SQL...
August 19, 2008 at 5:56 am
Great. Can you post the table's create statement, the index definitions and the query itself please?
August 19, 2008 at 5:48 am
b_boy (8/19/2008)
Not able to attached execution query plans, file type not permitted
if you're using SQL 2005, right click the exec plan, choose save as. Save the file as a .sqlplan...
August 19, 2008 at 5:21 am
Yes, and the index creation scripts would also be useful please.
August 19, 2008 at 4:55 am
gohsiauken (8/19/2008)
CREATE TRIGGER Product_tUpdateAfter800
on dbo.Product AFTER update
CREATE TRIGGER Product_tInsertAfter800
on dbo.Product AFTER Insert
CREATE TRIGGER Product_tIDeleteAfter800
on dbo.Product AFTER...
August 19, 2008 at 4:52 am
Viewing 15 posts - 44,956 through 44,970 (of 49,571 total)