Forum Replies Created

Viewing 15 posts - 586 through 600 (of 1,131 total)

  • RE: is Foreign key physical data?

    For a column that is not physical, which is a computed column, a foreign key constraint cannot be created. Here is a test case:

    Create Table Foo

    (FooPkvarchar(255) not null

    , primary key...

    SQL = Scarcely Qualifies as a Language

  • RE: SQL Server Does Not Exist or Access Denied

    Is the SQL Server Clustered and behind a FireWall ? A firewall may be in effect is a Virtual Private Network is being used for connectivity.

    SYMPTOMS

    If you try to...

    SQL = Scarcely Qualifies as a Language

  • RE: SQL server does not take all the memory

    It appears that only the /3GB is being used. Check the SQL Server errorlog for a message "Address Windowing Extension enabled". If missing, then AWE is not enabled.

    Confirm that...

    SQL = Scarcely Qualifies as a Language

  • RE: Transaction Syntax Best Practice

    From your example:

    IF (@@ERROR> 0)

    BEGIN

    INSERT INTO ErrorLog (Table, Error) VALUES ('Table2', @@ERROR)

    ROLLBACK TRANSACTION

    END

    As there is a rollback, this will also rollback the insert into...

    SQL = Scarcely Qualifies as a Language

  • RE: Using DTS to Execute Win32 Process on Different Machine

    "When the SQL machine calls the Win32 Process on the Cognos machine through Enterprise Manager/DTS, where is the process attempting to execute?"

    The process is running on the SQL Server -...

    SQL = Scarcely Qualifies as a Language

  • RE: Physical name of server

    For SQL Server 2000, use this SQL

    selectcast( serverproperty ('machinename') as nvarchar(128) )as MachineName

    , cast( serverproperty (IsClustered) as nvarchar(1) )as ClusteredInd

    Where:

    MachineName values are:

    For a cluster, the virtual SQL Server Name

    For a...

    SQL = Scarcely Qualifies as a Language

  • RE: login management

    "disabling or deleting in AD didn't update the syslogins"

    That is correct as the SQL only reports what login SIDs are no longer in Active Directory and what logins have had...

    SQL = Scarcely Qualifies as a Language

  • RE: Could not allocate space for object because the ''''PRIMARY'''' filegroup is full (maintenance plan)

    Were you aware that the optimization process for a table and its associated indexes makes a complete new copy ?

    The total amount of free space needs to be based whatever...

    SQL = Scarcely Qualifies as a Language

  • RE: login management

    To determine SQL Server Windows logins that no longer exist in Active Directory ( or on the local server for local accounts), run this SQL:

    select *

    from

    (select syslogins.nameas ...

    SQL = Scarcely Qualifies as a Language

  • RE: How to transfer the registered SQL Servers

    Although exporting/importing registry did work at one time, this method no longer works. The good news is that Gustavo Merle has written a VBS to perform this function.

    http://www.sqlservercentral.com/forums/printtopic.aspx?forumid=24&messageid=270935

    SQL = Scarcely Qualifies as a Language

  • RE: run operating system batch process on another computer

    C:\WINNT\system32>rexec.exe /?

    Runs commands on remote hosts running the REXEC service. Rexec

    authenticates the user name on the remote host before executing the specified command.

    REXEC host [-l username] [-n] command

    host...

    SQL = Scarcely Qualifies as a Language

  • RE: Linked server problem after few mins

    Check the event log on the linked to server for these errors as:

    1. Timeouts on connecting to Active Directory

    2. Changes to Active Directory Group Policy

    SQL = Scarcely Qualifies as a Language

  • RE: Task Manager - Memory Usage Delta is not Changing for sqlservr.exe

    There is a bug in Task Manager (http://support.microsoft.com/kb/269551) that applies to Windows 2000 and 2003, where the amount of memory used by a process is not correctly reported in all...

    SQL = Scarcely Qualifies as a Language

  • RE: Backup Log file failure

    "how would I find out what mode it's in?"

    In SQL Query Analyzer, run this SQL:

    select DATABASEPROPERTYEX( databasename , 'Status') as DBStatus

    , DATABASEPROPERTYEX( databasename , 'Recovery') as DBRecoveryMode

    go

    For DBStatus, the possible...

    SQL = Scarcely Qualifies as a Language

  • RE: Help.. DB Lost Owner

    This can be caused by Active Directory changes under the following sequence of events

    1. In AD, create a group named DBAs

    2. In AD, add account "domain\Carl.Federl" as a...

    SQL = Scarcely Qualifies as a Language

Viewing 15 posts - 586 through 600 (of 1,131 total)