Viewing 15 posts - 5,776 through 5,790 (of 6,104 total)
It won't in the case of numeric fields. One thing that can be done is to specify a DEFAULT constraint for the given column. For instance:
CREATE...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 6:58 pm
You're welcome. Information Schema views can come in handy because we can avoid the system tables with them. ![]()
K. Brian Kelley
http://www.sqlservercentral.com/columnists/bkelley/
K. Brian Kelley
@kbriankelley
January 29, 2002 at 3:26 pm
If you want to use Information Schema Views:
CREATE PROC usp_GetPrimaryKeyCols
@Table sysname
AS
SELECT C.COLUMN_NAME, C.DATA_TYPE
FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE KCU
JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS TC
ON KCU.CONSTRAINT_NAME = TC.CONSTRAINT_NAME
AND KCU.CONSTRAINT_SCHEMA = TC.CONSTRAINT_SCHEMA
AND KCU.CONSTRAINT_CATALOG = TC.CONSTRAINT_CATALOG
JOIN INFORMATION_SCHEMA.COLUMNS C
ON...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 2:14 pm
Correct. Row locator is a generic term given that a non-clustered index could be build upon a heap or upon a clustered index. Row locator with regard to...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 1:57 pm
If they expanded T-SQL so we could code front-ends... nah, too many structures would have to be added. But seriously, by opening up to .NET, what it does mean...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 1:20 pm
You might give a look at Compaq's Active Answers site at:
http://activeanswers.compaq.com
They have sizers on the site for the Proliant systems, both for SQL Server 7 and 2000, and for OLTP...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 12:21 pm
Chris, one thing you can do is check syscacheobjects between the first and second times you run the query to see if an entry got added that is applicable. ...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 12:16 pm
Nonclustered indexes contain the value (for the nonclustered index) and a row locator to the data row having the data value (or rows if the data value is not unique)....
K. Brian Kelley
@kbriankelley
January 29, 2002 at 12:01 pm
As Steve has indicated, the decryption routines do exist, people have figured 'em out. But through Microsoft's provided tools there is no way. For instance, going through EM...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 11:36 am
BTW, I should mention that isql works, too.
K. Brian Kelley
http://www.sqlservercentral.com/columnists/bkelley/
K. Brian Kelley
@kbriankelley
January 29, 2002 at 9:22 am
One thing you could use (though you'll have to do a little cleanup) is use osql and the sp_helptext system stored procedure. For instance
osql -E -S MyServer...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 9:19 am
While it is true that the multiple instances won't talk to each other directly and yield directly to each other, the way SQL Server dynamically handles memory with regards to...
K. Brian Kelley
@kbriankelley
January 29, 2002 at 7:17 am
Out of curiousity, how is performance accessing via Query Analyzer?
K. Brian Kelley
http://www.sqlservercentral.com/columnists/bkelley/
K. Brian Kelley
@kbriankelley
January 28, 2002 at 9:05 pm
Not yet. But remember, Yukon will support .NET for stored procedures. As a result, it has the potential to significantly impact a DBA's job. We're already talking...
K. Brian Kelley
@kbriankelley
January 28, 2002 at 9:02 pm
The triggers/constraints issue in SQL Server 7 meant that I had to manually delete from the bottom up with respect to a SQL 7 database I designed. It wasn't...
K. Brian Kelley
@kbriankelley
January 28, 2002 at 5:02 pm
Viewing 15 posts - 5,776 through 5,790 (of 6,104 total)