Viewing 15 posts - 616 through 630 (of 1,219 total)
It is difficult to answer the question, because I don't know why you set up different schema owners in the first place. My preference is to have dbo to own...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 10, 2013 at 4:14 pm
Grant Fritchey (9/10/2013)
The only way to get run-time information is to capture the plan while executing using SSMS or extended events.
You can also capture them with SQL Trace. Note that...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 10, 2013 at 4:06 pm
I guess it will give some clue, but maybe not enough, unless these logs are large. A better test may be the restore of the full database backups. A few...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 10, 2013 at 3:49 pm
Let me first commend you for adding that primary key. That constraint served as an assertion of your assumption about the data. Your assumption proved to be incorrect, but thanks...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 10, 2013 at 3:43 pm
When you have a syntax error, you need to read the query in tokens. You have:
exec master.sys.xp_cmdshell BCP "SELECT FileContent FROM
[StoreReferenceFiles] WHERE FileId = '1F4CA617-2296-482E-B909-24B69B83EDAA'" queryout "\\spicity605\Pricelist\docs_test.xlsx" -T-n
That is
EXEC <identifier>...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 10, 2013 at 1:47 am
The thing about "one file per core" is not correct, but what is correct is more difficult to say. I vaguely recall something about 1 file for every four cores,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2013 at 4:14 pm
So your problem is really about how to get DTC to work. And that is not trivial if the conditions are not the rights ones. In a domain with trust...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2013 at 4:04 pm
Let me ask you one thing: if the call to dbo.sp_send_dbmail, or for that matter anything else in the trigger, fails, do you want the statement that fired the trigger...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2013 at 3:55 pm
kevinsql7 (9/9/2013)
"Cannot grant, deny, or...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2013 at 3:49 pm
Are these logins Windows logins or SQL logins?
When your login fails, what do you see in the error log? There should be the same error message as you get when...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 9, 2013 at 7:24 am
Note sure what you actually did; the CREATE TABLE statement should pass. It would be easier to make dbo owner of the schema from the start, but it does not...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 8, 2013 at 4:19 pm
On SQL 2008, you can use the command SET FMTONLY ON:
SET FMTONLY ON
go
--you query goes here
go
SET FMTONLY OFF
although, this is quite an ugly hack and it will not work in...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 8, 2013 at 4:09 pm
When you get this error, this either because the value is a duplicate in the source data, or because your query produces duplicate rows because of an incorrect join condition...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 8, 2013 at 4:04 pm
Certainly a bit of a mystery!
I can explain the part about the trailing space: if you save a value with trailing spaces in a varchar column, the trailing spaces, provided...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 8, 2013 at 3:52 am
If you add YD.Framework and YD.Level to the result set, what values do you see in these columns?
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 7, 2013 at 3:31 pm
Viewing 15 posts - 616 through 630 (of 1,219 total)