Viewing 15 posts - 46,816 through 46,830 (of 49,571 total)
Be aware that LEN does not count trailing spaces.
SELECT LEN('abc') -- 3
SELECT LEN('abc ...
April 23, 2008 at 12:21 pm
Yes. I was more referring to the other NC indexes.
As I mentioned in another thread, that cluster is exceedingly wide. The recommendations for clustered indexes is that they are as...
April 23, 2008 at 12:18 pm
What's the name of that file?
It's possible that it's the windows swap file, which means SQL's using more memory than the machine has available and windows is swapping it to...
April 23, 2008 at 12:17 pm
Without seeing the table structure, or the index definitions, it's hard to say.
You could probably widen a couple of the indexes and it would reduce the lookups. Without knowing the...
April 23, 2008 at 11:20 am
karthikeyan (4/23/2008)
Carl Federl
select @Nm = 'Age'
select @Null = count(*) from #t1 where (@Nm) is null
As "where (@Nm) is null" will always be false, zero rows will meet the
restriction....
April 23, 2008 at 8:17 am
Carl Federl (4/23/2008)
Why are you expecting a value of 3 ?
He wants to specify the column name in a variable.
April 23, 2008 at 8:01 am
Because the variable @Nm is not null. It is equal to 'Age'
If you want to have a variable column specified in the where clause, you'll have to use dynamic SQL,...
April 23, 2008 at 7:50 am
That's not what spaceused is saying.
Spaceused lists your data size (the clustered index) as 12 GB. The page count confirms that.
What spaceused lists as index size is the total space...
April 23, 2008 at 7:45 am
You're referencing the table FDIT_SAP_AUC_IMPORT in the set and in the where, but it's not in the from.
Is this perhaps what you want?
update FDIT_SAP_IMPORT
set AUC=FDIT_SAP_AUC_IMPORT.auc
from FDIT_SAP_AUC_IMPORT
where FDIT_SAP_AUC_IMPORT.WBSnumber=FDIT_SAP_IMPORT.wbsnumber;
April 23, 2008 at 5:44 am
Can you post the entire query please, the table structure and all the indexes on it? Also, please save the execution plan as a .sqlplan file (right-click the exec plan,...
April 23, 2008 at 12:29 am
It might be. How many other indexes do you have on the table?
Run this and see what it regarding page count for the clustered index (index_id 1) and the other...
April 23, 2008 at 12:23 am
Maybe.
Can you post the entire update statement please?
April 23, 2008 at 12:10 am
Try connecting from full management studio, rather than management studio express.
You can install the workstation componenents alone on your client PC from the same DVD that you installed the server.
btw,...
April 22, 2008 at 6:52 am
Not that I know of. In SQL 2000, encryption means that the object cannot be scripted of modified without either having the original code, or decrypting the proc.
Especially in SQL...
April 22, 2008 at 4:18 am
It still works in SQL 2000 and later. What error are you getting?
This works fine in SQL 2005
CREATE PROCEDURE Test
WITH ENCRYPTION
AS
SELECT 1
April 22, 2008 at 3:25 am
Viewing 15 posts - 46,816 through 46,830 (of 49,571 total)