Forum Replies Created

Viewing 15 posts - 1,201 through 1,215 (of 1,409 total)

  • RE: SQL AGENT JOB - Manually runnable only

    And you can do this by using T-SQL:

    USE [msdb]

    GO

    EXEC msdb.dbo.sp_detach_schedule @job_name=N'name of the job', @schedule_name='name of schedule', @delete_unused_schedule=1

    GO

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL Server Agent Proxies

    Stewart "Arturius" Campbell (5/15/2012)


    Nice, simple question, thanks Steve

    what is disturbing is how many (45% at this point in time) of responders selected "yes".

    Unfortunate I was one of the 45% answering...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQL Like Clause

    small typo in the code from Jeff Moden...

    SELECT * FROM dbo.mytable WHERE CHARINDEX(@FirstName,FirstName) + 0

    should be

    SELECT * FROM dbo.mytable WHERE CHARINDEX(@FirstName,FirstName) > 0

    :hehe:

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: compare database schema for database located on many instances

    Thanks Lowel and Chris,

    Your ideas point me to some new thoughts. I think it must be possible to transfer DDL from system tabels to a central location. By joining these...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: compare database schema for database located on many instances

    Thanks Grant,

    I will look into scripting Redgate SQL Compare. I was hoping someone knew a tool that has this function built-in. That would save me quite some work.

    But this will...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Over-Engineering

    The most important thing is to ship a product that is working 100% correct. If not all functionality is available, swah, it can be added later. But it is very...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: How to know this row is REFERENCED to other table?

    With this code you will get a list of all tables with a column name of "DeptNo".

    select

    sys.tables.name as TableName

    , sys.columns.name as ColumnName

    , sys.columns.column_id

    from

    sys.tables

    inner join sys.columns

    on sys.tables.object_id = sys.columns.object_id

    where

    sys.columns.name = 'DeptNo'

    Using...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: 70% space in database is used by Indexes

    Look at the DMV's for index usage.

    taken from https://www.sqlservercentral.com/blogs/brian_kelley/archive/2006/06/12/639.aspx

    sys.dm_db_missing_index_details

    sys.dm_db_missing_index_columns

    sys.dm_index_usage_stats

    The first two allow us to identify cases when we need an index but one isn't present. If we...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: security question

    you can also use "Activity monitor" from SSMS

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: SQLSERVER

    I don't really know what you are asking, but I will try to answer.

    To see when a user connects and disconnects from a database and to see what the user...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Maintenance Plan - All Jobs are failed!!!

    Do you have more specific error messages? (see LOGs)

    Can you manually execute the command when you copy the code from the job to a query window?

    Has anything changed 5 days...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Connecting to SQL DB 2005

    SQL 2000 is not compatible with SQL 2005. Connect to the SQL 2005 instance using the SQL 2005 tools.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: uncommittable transaction is detected at the end of batch. the transaction is rolled back

    Are you able to break down the batch into seperate commands? If you run each part seprately, you can see wich part of the batch is causing the failure.

    This is...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Warning: Null value is eliminated by an aggregate or other SET operation

    sward (5/5/2009)


    Hi,

    I am getting this SQL error:

    Msg 2627, Level 14, State 1, Line 1

    Warning: Null value is eliminated by an aggregate or other SET operation

    This error is generated by the...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: uncommittable transaction is detected at the end of batch. the transaction is rolled back

    More info is needed. Can you post the batch code?

    Maybe a trace can pinpoint the problem?

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **

Viewing 15 posts - 1,201 through 1,215 (of 1,409 total)