Viewing 15 posts - 6,556 through 6,570 (of 26,490 total)
Grant Fritchey (6/5/2014)
June 5, 2014 at 8:38 am
Here is the problem, we can't see what you see unless you show us. Without knowing what it is you are trying to accomplish about all we can do...
June 4, 2014 at 12:42 pm
dquirion78 (6/4/2014)
ReallySo I probably need a new stored procedure !
Maybe not. If you show us what it is you are trying to do instead of hiding it behind obfuscated...
June 4, 2014 at 11:59 am
TomThomson (6/3/2014)
patrickmcginnis59 10839 (6/3/2014)
Rudyx - the Doctor (6/3/2014)
- table variables need to be depracated with extreme prejudice
- SSMS generated code (IMAX...
June 3, 2014 at 7:29 pm
Sean Lange (6/3/2014)
Rudyx - the Doctor (6/3/2014)
hmmm ...
table variables are not capable of having indexes (however they support constraints and primary keys)
no indexes mean:
...
June 3, 2014 at 1:32 pm
Eirikur Eiriksson (5/30/2014)
😎
create table #sampledata
(
userId int,
BaseYear int,
TotalSales...
June 3, 2014 at 10:42 am
Koen Verbeeck (6/2/2014)
Lynn Pettis (6/2/2014)
Looks like someone was writing the query using the ANSI-89 joins but forgot the WHERE clause to properly...
June 2, 2014 at 2:23 pm
Looks like a Cartesian product to me as well.
Looks like someone was writing the query using the ANSI-89 joins but forgot the WHERE clause to properly restrict the result set.
June 2, 2014 at 2:12 pm
vinpes (6/2/2014)
In Italy the tax office requires a complete seq. number for invoices 🙁
Yes, I have read about that sort of thing in the EU in general. But from...
June 2, 2014 at 12:55 pm
TheSQLGuru (6/2/2014)
June 2, 2014 at 12:50 pm
Between NOLOCK and no gaps in invoice numbers how much more fun can we have??
June 2, 2014 at 12:41 pm
vinpes (6/2/2014)
But I'd recover that invoice number not to void:ermm:
And you complexity to the process that really isn't necessary.
June 2, 2014 at 12:37 pm
Also, since it is looking like you are using SQL Server 2008 or later there are better alternatives to allowing dirty reads. One of the biggest reasons people add...
June 2, 2014 at 12:36 pm
vinpes (6/2/2014)
I considered this option, but it could be other problem of concurrency.
Imagine I have two record of with invoice Nr not completed, ie
InvoiceID flagcompleted
1 ...
June 2, 2014 at 11:57 am
Why are you allowing the use of NOLCK hints? You are aware of the potential data issues that can occur from using dirty reads, aren't you?
June 2, 2014 at 11:37 am
Viewing 15 posts - 6,556 through 6,570 (of 26,490 total)