Viewing 15 posts - 946 through 960 (of 1,219 total)
That depends on who you specified the CHANGE_TRACKING option when you created the index. If you specified MANUAL, you need to issue a command update the index. If you specifed...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 3:36 pm
Since you should always test your backups (so that you know that they work, and that you know that you are familiar with the activity), why don't you try and...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 3:28 pm
Yes, you can upgrade from Evaluation Editon to Standard Edition.
Weether you can get your hands on Evaluation Edition for SQL 2008 R2, I don't know.
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 2:47 pm
Scrap your function with dynamic SQL that loops tables. Just write a stored procedure that issues a query for each table. It's easier to understand and maintain.
Since I don't know...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 1:52 pm
So that application is a two-tier application and users are members of that group?
In that case, your only option is to put the application on Terminal Server/Citrix etc, so that...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 1:47 pm
Stefan_G (8/5/2013)
Why is this such a bad solution?
See discussion in my artlce: http://www.sommarskog.se/share_data.html#OPENQUERY
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 4:28 am
Not sure that I get this. Yes, you need more than one table in the database. But why you would need to search seven tables is not clear to me.
Rather...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 3:05 am
Beware that this is a very bad solution. If were to meet in a code review I would never approve of this solution. Did you read the article I pointed...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 2:40 am
Sorry, but this is utterly confusing. In your initial post, you talked about a three-million row table, which you truncated and reinserted through a bulk-load operation in SSIS.
Now you give...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 2:13 am
This:
UPDATE dbsource
SET @columnname1 = dbref.Amended_SW_Manufacturer,
@columnname2= dbref.Amended_Product_Name
Is a funny way of doing variable assignment. There is no indirection, if that is what you...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 1:11 am
Eskandari (4/8/2013)
My Database is for book store.I have 7 tables that stored book info on theirs.
Why seven tables instead of a single one?
I'm still at loss what you want to...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 5, 2013 at 1:03 am
It's not clear what your question is, but if your procedure keeps looping and not terminating, add debug PRINT/SELECT to see how the code is (not) progressing.
Tip: rather than
['+pqc.SourceColumn+']
use
quotename(pqc.SourceColumn)
quotename adds...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 4, 2013 at 4:11 pm
Jeff Moden (8/3/2013)
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 4, 2013 at 4:06 pm
I find it very difficult to understand what you are doing and what you are trying to achieve. It seems that you are searching a lot of tables for some...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 4, 2013 at 4:01 pm
The easiest way to find the average data size of a row in table is to run sp_spaceused on the table, and then run:
SELECT convert(bigint, reserved) * 8192 / rows
This...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
August 4, 2013 at 2:09 pm
Viewing 15 posts - 946 through 960 (of 1,219 total)