Viewing 15 posts - 571 through 585 (of 1,219 total)
That sounds indeed like a difficult case. I don't know enough about Windows to say whether this can be solved and how. And MSDTC is a Windows component.
September 17, 2013 at 3:06 pm
GilaMonster (9/17/2013)
September 17, 2013 at 3:01 pm
Too bad that you are not on SQL 2012 or later, that makes things simpler.
The embarrassing part is that I work a lot with FIFO calculation at work, but not...
September 16, 2013 at 4:12 pm
Glenstr (9/16/2013)
September 16, 2013 at 4:05 pm
Glenstr (9/16/2013)
Where exactly would I put the "WITH EXECUTE AS 'domain\dbuser' clause in my example?
That is exactly what you use the syntax graphs in Books Online for.
But as I...
September 16, 2013 at 3:05 pm
Not that I know, but could it be that the account was renamed in Windows and the added to SQL Server under the new name, and the old name was...
September 16, 2013 at 3:01 pm
Time to take a step back. You have:
BuildDates.BuildEventType IN (dbo.DelimitedSplit8K(@BuildEventTypes,','));
This is the same as
BuildDates.BuildEventType = dbo.DelimitedSplit8K(@BuildEventTypes,',');
But since DelimtedSplit8K is a table-valued function, this is not going to work out....
September 16, 2013 at 1:28 am
It's difficult to understand your question, since you seem to say that you get the result
studenid|SchoolID|year|Att_date|AMAttCode|PMAttCode
7040744|289|2013|09/13/2013|E|null
7040744|289|2013|09/13/2013|null|U
But the last column before the FROM clause appears to be a date.
In any case,...
September 15, 2013 at 4:28 pm
892717952 (9/14/2013)1. when I create an index in a table or views, is there any good way to konw (or evaluate) the index is necessary and correct?
That depends. If...
September 15, 2013 at 4:17 pm
Presumably the problem is cause from that dynamic SQL statement the procedure produces. The code is very painful to read with all that uppercase, and the programmer does not seem...
September 15, 2013 at 4:09 pm
If you have all the words you want to add in a table, you can do
SELECT 'ALTER FULLTEXT STOPLIST MyStoplist ADD ' +
quotename(stopword,...
September 15, 2013 at 4:00 pm
Jeff Moden (9/15/2013)
Doesn't work, Erland. Consider a baby born on 12/31 of some year and using your code the next day.
In that case, there is some other bug. The...
September 15, 2013 at 2:59 pm
I did some further testing, and I found that when you use the -w option and do not use a format file, BCP skips the BOM. It still does not...
September 15, 2013 at 5:21 am
So this is a built-in system function, not a user-defined function. You cannot invoke built-in functions through EXEC. This is only possible with scalar user-defined functions.
September 15, 2013 at 3:08 am
Sorry for the nonsense post, and thanks a lot for the question. It came very timely with a text I'm writing, and made me aware of problem with BCP that...
September 14, 2013 at 4:10 pm
Viewing 15 posts - 571 through 585 (of 1,219 total)