Forum Replies Created

Viewing 15 posts - 631 through 645 (of 1,409 total)

  • RE: How to Identify name starting with a specific letter without using like operator?

    Why do you have the restriction of using the LIKE operator?

    But you can accomplish this for example by using the LEFT or the SUBSTRING operator.

  • RE: How to avoid opening a password-protected mdb

    I'm not sure if this code is compatible with VBA, but I use this (modified for security reasons) code below in VB6:

    Private Function GetConnectionstring(ByVal strDatabase As String) As String

    Dim...

  • RE: Database permission disapers

    stefan_hufnagel (10/25/2013)


    ADDITIONAL INFORMATION:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

    ------------------------------

    The database principal owns a schema in the database, and cannot be dropped. (Microsoft SQL Server, Error: 15138)

    The...

  • RE: How to avoid opening a password-protected mdb

    Before opening the database with "app.OpenCurrentDatabase" you could first try to connect with an OLEDB connection. The OLEDB connection doesn't use a GUI so you can easily handle an error...

  • RE: Upgrade to SQL Server 2008 R2 SP2 from SQL Server 2005 SP3

    I guess the information on the URL is created before SP3 for SQL2005 was released.

    Allthough I don't have much experience with an in-place upgrade from SQL2005 to SQL2008, I can't...

  • RE: The transaction log for database is full.

    When running a database in FULL recovery mode it is required to take regular LOG backups. Without running LOG backups the space inside the LOG-file can not be re-used and...

  • RE: SQL Server 2000 >> 2005 Upgrade

    It is not possible to attach a SQL2005 database on a SQL2000 instance. The only way to transfer your data-modifications from SQL2005 to SQL2000 is with export/import of data. You...

  • RE: Quick Question - PRIMARY filegroup is full

    All actions that result in a "PRIMARY Filegroup FULL" error are being rolled back. These actions need to be executed again by the application/user. Some other actions (like simple SELECTs)...

  • RE: display 12 month list through query

    Create a (temporary) table that hold all the month values. Outer-join this table with your table that holds the birthdays on the extracted month-value of that birthday. Group and total...

  • RE: Authentication Mode ??

    If I interpred your output correctly the value in column "original login" is xxxx\SAPServiceRED. This looks like a Windows account/AD-group to me. Can you check the value Red in column...

  • RE: Authentication Mode ??

    Just to verify your settings and active connections; can you post the results of the query below?

    select

    case when serverproperty('IsIntegratedSecurityOnly') = 0 then 'SQL' else 'Windows' end as security_setting

    , sum(case when...

  • RE: Restore Information SQL DB

    SELECT

    convert(NVARCHAR(60), db_name(database_id)) AS [database]

    ,CASE command

    WHEN 'BACKUP DATABASE'

    THEN 'DB'

    WHEN 'RESTORE DATABASE'

    THEN 'RESTORE'

    ELSE 'LOG BACKUP'

    END AS [type]

    ,command

    ,start_time AS [started]

    ,dateadd(mi, estimated_completion_time / 60000, getdate()) AS [finishing]

    ,datediff(mi, start_time, (dateadd(mi, estimated_completion_time / 60000, getdate()))) -...

  • RE: What jobs _would_ have run if the box was up?

    Take a look at this article (and included script): http://sqlmag.com/t-sql/plugging-gaps-sql-server-job-tracking.

    Probably it will give you allready what you want. I only had to modify it slightly to fit my environment...

  • RE: Case statement returning duplicates

    If you mean by "duplicate values" that the same value exists in multiple rows, you need to provide some sample data (CREATE TABLE and INSERT statements) so we can duplicate...

  • RE: Case statement returning duplicates

    Most probably because the results without the CASE statement will also return duplicate records.

    But for us to be able to help you, you should post your query and provide some...

Viewing 15 posts - 631 through 645 (of 1,409 total)