Viewing 15 posts - 346 through 360 (of 372 total)
Hi Antonio,
I thought the comparison in Inside Microsoft SQL Server 2005: T-SQL Querying (p.241) that shows a benchmark between some different methods was interesting. In each case the ROW_NUMBER...
January 28, 2008 at 6:20 pm
Based on the original post it's unlikely that IO would have much impact on performance; 250 rows in one table that has 3 columns would likely fit on 2 or...
January 27, 2008 at 5:56 pm
As long as you're using SQL 2005 there are two things that could solve this: Common Table Expressions and the ROW_NUMBER function.
ALTER PROC usp_ShowPreviousNext( @myid INT)
AS
WITH myResults AS...
January 26, 2008 at 5:30 pm
If the default trace is running you may be able to track that down since one of the event classes it captures is Object : Deleted. To find out...
January 25, 2008 at 5:11 pm
I'm not aware of any functionality built-in to SSMS to let you do that. But with very little code you can use the functionality built-in to a web browser...
January 25, 2008 at 11:09 am
Setup a Flat File source to read into a single column. Connect that to a Script Component which will split the single column into multiple columns. Connect that to...
January 23, 2008 at 7:09 am
On the Control Flow canvas add a Script Task and connect that to the Data Flow task.
In the following example the Script Task loops until the file becomes available or...
January 22, 2008 at 6:32 am
Based on actual execution plans, the cost for this one is 30% compared to the original, but only if there is no index defined on ITEM.ITEM_ID.
If there is an index...
January 20, 2008 at 10:40 am
Try using @file_attachments = 'file_attachments' parameter instead.
When you want the results from an @query parameter attached as a file you'd use @attach_query_result_as_file = 1 along with @query_attachment_filename.
January 19, 2008 at 2:37 pm
Yes, it's possible. In fact it's no less important to perform backups the same as if mirroring weren't enabled since the database is in the FULL recovery model. ...
January 17, 2008 at 8:01 pm
My apology H.S. That last option has no relevance to your problem.
You say it's listening on port 1433? Does the PID from a NETSTAT -o -a -n command...
January 16, 2008 at 12:54 pm
Is it showing as enabled when you run this?
exec sp_configure 'remote access'
January 16, 2008 at 11:55 am
A log recovery tool such as SQL Log Rescue might be something you'd find useful in situations like this. It's not a replacement for managing transactions but it can...
January 14, 2008 at 7:54 pm
The reason it's taking so long is that the for loop is executed on each file and only returns after the last file from the collection has been looked at.
Exiting...
January 14, 2008 at 3:52 pm
One way to defragment a heap is to create a clustered index on the table and then drop it.
January 14, 2008 at 10:29 am
Viewing 15 posts - 346 through 360 (of 372 total)