Viewing 15 posts - 181 through 195 (of 217 total)
I can tell you based on my time working ExcelForum.com a few years ago the issue of people asking questions and then not acknowledging answers is certainly not unique to...
May 23, 2014 at 7:54 am
If the added field in the select list is not in the index, the query optimizer only has two options:
1. Look up the rows you need with the nonclustered index,...
May 22, 2014 at 1:17 pm
Make sure the behavior of each job step is "Go to the next step".
May 22, 2014 at 12:14 pm
I agree with SQLRNNR, and to test this you can add the extra field you are selecting to the current nonclustered index as an included field and see if that...
May 22, 2014 at 10:21 am
ronan.healy (5/22/2014)
it come out like this
PK_GLSectionSectionNumber
6TestNULL
1Assets1
2Liabilities2
3Revenue3
4Expense4
5Capital5
is there a way to auto incremnet the scention number number
If it should be autoincremented, can it be the identity field? What is the...
May 22, 2014 at 9:30 am
I believe this would do the trick:
INSERT INTO table1
( SECTION )
SELECT SECTION
...
May 22, 2014 at 8:57 am
Rod at work (5/22/2014)
david.gugg (5/21/2014)
I've always been successful by scripting the job to a new Query Editor Window, then changing the connection on that window to the destination server.
So you...
May 22, 2014 at 8:19 am
When you run the query, what kind of scan/seek is being done on dbo.cb? Is there an index that contains begindate?
May 22, 2014 at 8:16 am
Yes you can:
--Create table parameter type
CREATE TYPE dbo.TableParamTest AS TABLE
(i INT, string VARCHAR(255));
--Create stored procedure
CREATE PROCEDURE dbo.test
(
@tableparam TableParamTest READONLY ,
...
May 22, 2014 at 7:55 am
You've probably already checked this, but I've had problems in the past (in Windows) where the DSN's default database was different than the one I was trying to access, and...
May 22, 2014 at 7:28 am
You can use the ISNULL() function:
SELECT ISNULL(fieldthatmaybenull, 'Other value')
FROM ...
May 22, 2014 at 7:13 am
I've always been successful by scripting the job to a new Query Editor Window, then changing the connection on that window to the destination server.
May 21, 2014 at 3:10 pm
Can you post the entire SQL statement where the dynamic string is built?
May 21, 2014 at 2:59 pm
I disagree that fragmentation would not be removed. As long as the table is big, the fragmentation will be reduced. I have a bunch of crappy third party...
May 21, 2014 at 7:06 am
batgirl (5/16/2014)
I am pretty sure that I need a vacation, or at least a long weekend.
I assumed that "NOT"...
May 16, 2014 at 8:42 am
Viewing 15 posts - 181 through 195 (of 217 total)