Viewing 15 posts - 1,156 through 1,170 (of 1,219 total)
Maybe I misunderstand what you are looking for, but is it as simple as changing "> 0" to "= 0"?
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 13, 2013 at 3:04 pm
You drop a linked server with sp_droplinkedserver. Obviously, if you have queries that refer to the server, these queries will stop working.
To find instances of these servers in stored procedures,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 13, 2013 at 2:39 am
Any chance that you could write a small console-mode program that reads data from a tab-delimted file and then sends the data to SQL Server with SqlBulkCopy in your program?
Yes,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 12, 2013 at 4:29 pm
Judging from the error message, you are not using SQL Server. Which product do you use?
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 12, 2013 at 2:31 am
The thread is confusing. Are you looking for disk space or RAM?
xp_fixeddrives indeed gives you the available amount of free disk space (not the total space).
If you want to know...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 12, 2013 at 2:26 am
I played with this and I was able to reproduce the behaviour. And in my test, the answer is clearly: populating the non-clustered indexes.
I had this script:
CREATE TABLE "Orders" (
...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 12, 2013 at 2:13 am
See here for tips on how writing OPENQUERY with dynamic SQL and still stay sane: http://www.sommarskog.se/dynamic_sql.html#OPENQUERY
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 4:23 pm
All tables should have an index of the simple reason that all tables should have a primary key. (With one possible exception: tables that should only have a single row,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 4:19 pm
So your query windows runs either an INSERT command or a DELETE command? Else my answer would be that it's running the DELETE command once the INSERT is done.
But if...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 4:15 pm
Do you want to add a nullable column or a non-nullable column with a default value? And where you do want to add it? As the last column?
What does "SELECT...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 4:09 pm
Didn't you say that you had also tried BCP? I'd rather work with BCP than writing a .Net program. So if you have the BCP command (and any format file...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 4:04 pm
It would be interesting to try to repro this. Can you share the table and index definition? I would have use for the data file as well, but I understand...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 2:47 pm
There is a Service Pack2 out for SQL 2008 R2 out. I don't know whether that will resolve the issue, but you should be on the latest service pack anyway.
Disabling...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 10:06 am
I echo Gail. From my experience of answering questions in forums, my gut feeling is that there is something you are not telling us. With access to the environment we...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 10:02 am
OK. I suspect that this not the best site to ask this question. After all, it does not matter whether you have SQL Server, Oracle or something else running on...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 11, 2013 at 9:59 am
Viewing 15 posts - 1,156 through 1,170 (of 1,219 total)