Viewing 15 posts - 151 through 165 (of 607 total)
Carl B. (11/8/2013)
It would be simpler to process all the tables. But let's say you can avoid rebuilding indexes on 5 to10 really big tables, it would reduce a...
November 8, 2013 at 10:33 am
Carl B. (11/7/2013)
GilaMonster (11/7/2013)
Do your tables change definitions so often for this to be the primary concern and trigger for rebuilding indexes?
Hi Gail,
Yes. The contexte is the following :
Application upgrade...
November 8, 2013 at 6:58 am
curious_sqldba (11/7/2013)
Keith Tate (11/6/2013)
November 8, 2013 at 12:28 am
http://technet.microsoft.com/en-us/library/ms143432.aspx
Database objects include objects such as tables, views, stored procedures, user-defined functions, triggers, rules, defaults, and constraints. The sum of the number of all objects in a database cannot exceed...
November 7, 2013 at 5:29 am
Instead of building one statement to execute, I would execute each statement into a temp table.
CREATE TABLE #Indexes
(DatabaseName SYSNAME,
TableName SYSNAME,
IndexName SYSNAME NULL,
Reads INT,
Writes INT,
Rows INT);
DECLARE @DatabaseName VARCHAR(50)
November 7, 2013 at 4:41 am
You need to cast DM.DOCNUM in your where clause
and CAST(DM.DOCNUM AS VARCHAR)+'-'+G.USER_GP_ID not in
November 7, 2013 at 4:01 am
This will work for your sample data
New table definition
-- Add an IDENTITY ID column and a CategoryID column
CREATE TABLE books
(ID INT IDENTITY(1, 1) NOT NULL,
CategoryID INT NULL,
book_name VARCHAR(10),
code VARCHAR(3),
qty INT,
day...
November 7, 2013 at 2:52 am
Even with a category your next problem is row order. You mention a requirement to identify subsequent rows but there is no column that will allow you to identify subsequent...
November 7, 2013 at 2:29 am
These are internal expressions produced when SQL Server executes the query.
November 7, 2013 at 2:17 am
Between September and October, I've attended 11 events in 7 cities and given 23 talks on 8 topics.
We certainly don't get those kind of opportunities living in Africa, I envy...
November 7, 2013 at 1:24 am
It's not possible with that design. You have no way to relate a book to a category at all. At the minimum you need a column to indicate the relationship...
November 7, 2013 at 1:14 am
I suspect parameter sniffing.
http://sqlinthewild.co.za/index.php/2007/11/27/parameter-sniffing/
November 6, 2013 at 6:03 am
Do you want to update a notification or a step command?
Notification
sp_update_job [ @job_id =] job_id | [@job_name =] 'job_name'
[, [@notify_level_email =] email_level ]
...
November 6, 2013 at 3:54 am
What about just sending the path to the app and letting the app worry about fetching the image?
November 6, 2013 at 3:46 am
Viewing 15 posts - 151 through 165 (of 607 total)