Forum Replies Created

Viewing 15 posts - 1,696 through 1,710 (of 2,062 total)

  • RE: Help! Dos 255 Error from DTS Execute Process task

    Who/what starts the job? sql agent?

  • RE: Timestamp Showing As

    You're welcome

  • RE: SQL Server allowing duplicate key in a primary key field!!!!

    I've gotten those duplicates too.

    In this case it was a emergency recovery and the indexes were partially corrupted.

    Solved by dropping all indexes, running a DBCC CHECKTABLE, removing the duplicates (in my...

  • RE: Foreign Key constraint issue

    what kind of field is PersonId? char, varchar, int?

    Are you checking the right table? (have you specified an owner like dbo)

  • RE: Sequence Numbers

    Surely possible with a cursor.

    Will think about a set based solution.

  • RE: Job Problem

    Does sqlagent has sysadmin rights?

    Allows a member of the sysadmin fixed server role or db_owner fixed database role to impersonate another user.

    <IMG style="MARGIN-LEFT: 0em" height=11 alt="" src="mk:@MSITStore

  • RE: Create User on install & password on install

    sp_grantdbaccess grants access to a database

    Use sp_grantlogin to reverse the effects of a previous sp_denylogin that has been executed for a Windows NT user.

    Use sp_addlogin to allow a SQL Server...

  • RE: Work table..

    Work Table? You mean a table to dump all your information in for further processing?

  • RE: Timestamp Showing As

    With which tool you see <binary> (EM?)

    I see the different values with query analyzer.

     

  • RE: How to secure the SQL table''''s content?

    Since sa is a systemadministrator, they have full access (no permission checking).

    If normal accounts are used you can make views

    CREATE VIEW ABC AS

    SELECT ... FROM ...

    WHERE entry.USER_ID= SUSER_SID

    WITH...

  • RE: Schema binding

    SCHEMABINDING:

    Binds the view to the schema. When SCHEMABINDING is specified, the select_statement must include the two-part names (owner.object) of tables, views, or user-defined functions referenced.

    Views or tables...

  • RE: Trace Flag 2861

    Any scheduled jobs?

    If you know it happens every hour, you could set up a trace for it in sql profiler.

  • RE: creating a windows authentication DSN

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbcsql/od_odbc_c_99yd.asp

     

    lngResult = SQLConfigDataSource(0, _

                                               ODBC_ADD_SYS_DSN, _

                                               "SQL Server", _

                                               "DSN=" & JDS_DSN_name & Chr(0) & _

                                               "Server=" & JDS_Server_name & Chr(0) & _

                                               "Database=SvCvMarketing" & Chr(0) & _

                                               "UseProcForPrepare=Yes"...

  • RE: Query conversion issue.

    there is a setting ANSI_NULLS ON/OFF

    ANSI_NULLS ON -> left join (NULL=NULL) =false

    ANSI_NULLS OFF -> left join (NULL=NULL) =TRUE

  • RE: this might be a very simple question, but it''''s really baffling me

    RTRIM('ABCD ') strips off trailing whitespace

Viewing 15 posts - 1,696 through 1,710 (of 2,062 total)