Viewing 15 posts - 9,421 through 9,435 (of 26,490 total)
M_E_K (9/20/2012)
There is an undocumented flag, -T1229 which turns off Lock Partitioning on SQL Servers with >= 16 CPU.
Once I...
September 20, 2012 at 10:18 am
erics44 (9/20/2012)
Lynn Pettis (9/20/2012)
erics44 (9/20/2012)
Lynn Pettis (9/20/2012)
erics44 (9/20/2012)
...
Luis was able to help because at the time he had no opinion of me or the thread and wasnt letting his feelings...
September 20, 2012 at 10:11 am
Nils Gustav Stråbø (9/20/2012)
Lynn Pettis (9/20/2012)
Even the post above that basically says don't use scalar or multistatement tvf is not always correct.
Well, I didn't say never to use it, I...
September 20, 2012 at 10:07 am
erics44 (9/20/2012)
Lynn Pettis (9/20/2012)
erics44 (9/20/2012)
...
Luis was able to help because at the time he had no opinion of me or the thread and wasnt letting his feelings stop him from...
September 20, 2012 at 10:00 am
asm1212 (9/20/2012)
Michael Valentine Jones (9/20/2012)
select
CurrDateTime,
PriorQtrMonth1 = dateadd(mm,(datediff(QQ,0,CurrDateTime)*3)-2,-1),
PriorQtrMonth2...
September 20, 2012 at 9:50 am
erics44 (9/20/2012)
...
Luis was able to help because at the time he had no opinion of me or the thread and wasnt letting his feelings stop him from being objective
I had...
September 20, 2012 at 9:45 am
vax09 (9/20/2012)
One moreSELECT CAST(634 AS VARCHAR(2))
why it display * in result
Overflow, you are trying to convert the number 634 to a string but only giving the string 2 characters of...
September 20, 2012 at 9:40 am
PiMané (9/20/2012)
Lynn Pettis (9/20/2012)
September 20, 2012 at 9:38 am
erics44 (9/20/2012)
Lynn Pettis (9/20/2012)
erics44 (9/20/2012)
Sean Lange (9/20/2012)
erics44 (9/20/2012)
Sean Lange (9/20/2012)
erics44 (9/20/2012)
Sean Lange (9/20/2012)
erics44 (9/20/2012)
well spotted pal, the two are linkedcompletely different problem tho
But same issue of lack of details. I...
September 20, 2012 at 9:25 am
Have you tried putting the option (maxrecursion 0) on the calling SQL?
September 20, 2012 at 9:19 am
You are trying to make design decisions before any coding is actually done. The answer is "it depends." What should be done is to develop several alternative solutions...
September 20, 2012 at 9:18 am
erics44 (9/20/2012)
Sean Lange (9/20/2012)
erics44 (9/20/2012)
Sean Lange (9/20/2012)
erics44 (9/20/2012)
Sean Lange (9/20/2012)
erics44 (9/20/2012)
well spotted pal, the two are linkedcompletely different problem tho
But same issue of lack of details. I guess Luis has...
September 20, 2012 at 9:03 am
Only other option I can think of is at the end of the calling query.
September 20, 2012 at 8:47 am
Using the info from the url Sean provided and making some tweaks I would suggest something like this:
declare @RunDate datetime = '2012-10-01';
select
dateadd(dd, -1, dateadd(mm, datediff(mm, 0,...
September 20, 2012 at 8:42 am
I would say it should look like this:
...
SELECT Text_Id, TextData
FROM FindReplaceCTE
WHERE LookupIdx = (SELECT MAX(LookupIdx)
...
September 20, 2012 at 8:35 am
Viewing 15 posts - 9,421 through 9,435 (of 26,490 total)