Viewing 15 posts - 1 through 15 (of 27 total)
With your restrictions the only thing you may be able to do is to modify the <SprocName> stored procedure to work with rowset operations (inner joins to your list table),...
January 7, 2010 at 3:55 pm
xp_cmdshell opens a new console using the Windows account used by SQL Server service. Your Windows account has access to that remote folder; the SQL Server service account may not.
November 13, 2009 at 1:28 pm
This may not be the problem with your query, but it is an incorrect assumption from your part if I understood it correctly. DISTINCT applies to all the columns in...
November 9, 2009 at 8:53 am
I tried it on one of our databases and it did not work. I got an error. This was on a SQL 2008 server.
The only thing I would think off,...
November 6, 2009 at 8:04 am
daniell-1020276 (11/5/2009)
However, once the "IP" field is mentioned in the query I can not get an execution plan for the...
November 5, 2009 at 10:33 am
Is that 4 billion records?!
Without having a clue about the data I would think that [Query] column would have a smaller number of distinct values (how different can be [Query]...
November 5, 2009 at 10:08 am
Interesting article, but I do not think the proposed solution will cure the "lazy developer" syndrome. That's because the real problem are bad development practices, not the SELECT *...
November 5, 2009 at 7:34 am
I am not sure what you are trying to do, but the problem may be with your IF structures. When you write:
if (@j = 4)
set @project_no = 'ME93'
set @job =...
November 3, 2009 at 9:20 am
Try using "OPTIMIZE FOR" query hint. As mentioned before, it seems to be a parameter sniffing issue. When using variables instead of scalar values, SQL query engine is not using...
October 20, 2009 at 11:11 am
Invoices table would need an OrderID column, foreign key to Orders.OrderID. Otherwise, how do you know what are you billing for?
I would not put CustomerID and AddressID on the Invoices...
October 16, 2009 at 8:08 am
From current experience in my workplace: sometimes developers use third-party libraries like iBatis or NHibernate for Object Model - Relational Database mappings. Maybe these libraries are forcing the developer to...
October 15, 2009 at 4:07 pm
meichner (10/15/2009)
Al-279884 (10/15/2009)
John Rowan (10/15/2009)
October 15, 2009 at 3:14 pm
John Rowan (10/15/2009)
October 15, 2009 at 2:53 pm
meichner (10/15/2009)
John Rowan (10/15/2009)
meichner,
Care to...
October 15, 2009 at 2:39 pm
Viewing 15 posts - 1 through 15 (of 27 total)