Viewing 15 posts - 931 through 945 (of 1,132 total)
Yes and No: DBCC can only be run by logins with the system adminstrator role.
Can sp_spaceused be used instead ?
November 3, 2005 at 3:28 pm
Although the least cost can be determined with the CASE statement, since there are nulls and the least cost algorithm must handle nulls, the case statement would be very complicated....
November 3, 2005 at 6:34 am
"but without luck" is a rather general statement. What is the error number and error message which is being returned ?
November 2, 2005 at 1:06 pm
Do you mean that the other tables look like:
Create table Table2
( pkey1 integer not null
, typeid1 integer not null
, value varchar(255) not null
, constraint Table2_PK...
November 2, 2005 at 11:17 am
The sp_cursoropen and sp_cursorfetch are stored procedures are used by the Microsoft OLE DB Provider for SQL Server, the SQL Server ODBC driver, and the DB-Library dynamic-link library (DLL) to...
November 2, 2005 at 11:03 am
"When I was reading the database book by Elmasri, I learnt that B+ Tree indexes at their leaf level have a set of key values along with data pointers pointing...
November 2, 2005 at 7:09 am
Has anyone had success with alert forwarding to the MSX/TSX server ?
I have set this up 3 times, it works for a while and then the alerts will not forward...
November 1, 2005 at 6:38 pm
"The entire result set is built in the specified order and the top n rows in the ordered result set are returned.
Does anyone disagree?"
Well possibly but I need to run...
November 1, 2005 at 5:21 pm
"sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029)" can mean anything from I/O error, out of disk space, or trying to backup a database that is not available (dropped, offline or suspect)
Using...
November 1, 2005 at 3:44 pm
By "relationships", do you mean foreign key constraints ?
If so, then not with SQL Server.
SQLAnywhere does do special indexing when a foreign key constraint is defined. The special indexing...
November 1, 2005 at 3:36 pm
By Pivot, do you mean turning columns into rows such as:
select c1, c2
, MAX(case PivotColumn when 'x' then Value else null end) as X_Value
, MAX(case PivotColumn when 'Y' then Value...
November 1, 2005 at 3:21 pm
OPINION:
If you are calling a COM object from TSQL, then you have the WRONG solution to the problem.
The only usefull COM object that have I seen is to write to...
November 1, 2005 at 3:02 pm
There is an undocumented DBCC command but I do not think you will not find the output very usefull.
DBCC log ( {dbid|dbname}, [, type={-1|0|1|2|3|4}] )
PARAMETERS:
Dbid or...
November 1, 2005 at 3:00 pm
"but now I'm faced with a design question....to either normalize to save null values or to have more fields and cut down on table outer joins"
For flexibility, a view...
November 1, 2005 at 2:30 pm
The amount of space used for a fixed length datatype, such as integer or char(?), is the same amount of space whether it is null or not null. See...
November 1, 2005 at 2:11 pm
Viewing 15 posts - 931 through 945 (of 1,132 total)