Forum Replies Created

Viewing 15 posts - 1,291 through 1,305 (of 2,052 total)

  • RE: any better way to improve my query proformance

    the first query looks like

    find the last date that the quizzer (empno) took

    insert into #tempPreviousWinTrainingLog (EmplNO,QuizName, CTDate)

    select a.EmplNO,a.quizname,MAX(CTDate) as last_date

    from tblPreviousWinTrainingLog a

    where a.QuizName ='Back Injury Competancy'

    group by ...

  • RE: MSSQL Server Trouble. Helpe needed!!!

    Can you view the mdb file with Access to list its contents? I hope you have a backup.

  • RE: Query Result Modification !

    Hello,

    You could build a tiny table with the translations to join with. Since the values are hardcoded in INFORMATION_SCHEMA.TABLE_PRIVILEGES it isn't likely that the translationtable is already there.

    If you lookup...

  • RE: Linked Servers

    First thing to check is that dbareport actually has access to the database. Is the server online?

  • RE: Slow performing query

    Hello,

    You could relocate

    AND BE.EmpTypCd = 2

    AND StatusDesc.Typ = 1099

    AND MoveTypeDesc.Typ = 1102

    (BE.EmpFirstNm Like 's%' OR BE.EmpFamiliarNm LIKE 's%')

    AND (BE.EmpPrevLastNm LIKE 's%' or BE.EmpLastNm Like 's%' )

    AND CF.CustFileStatusDt >= CONVERT(DATETIME, GETDATE()...

  • RE: problem with parameter

    Also using mm/dd/yyyy as dateformat is risky since it could be dd/mm/yyyy. Safest way is to use yyyymmdd

  • RE: Permissions for truncating a table

    Permissions needed (from the books online):

    TRUNCATE TABLE permissions default to the table owner, members of the sysadmin fixed server role, and the db_owner and db_ddladmin fixed database roles, and are...

  • RE: Linked table returning limited rows with ODBC

    What servicepack does the Access97 have, SP2?

  • RE: Restore problem, Unable to attach database

    Hello,

    Did you get an error message?.

    Moving one database to another:

    Possibility 1:

    Detach database from source server, copy files to destination server, (attach databases back at sourceserver),attach database at destination server.

    Possibility 2:

    Backup...

  • RE: Create one database, or several?

    We overdid the separation a few years ago and tend to integrate databases back into larger ones (from 35 to 3) except data from foreign sources. The main reason is...

  • RE: Thank you very much Steve Jones

    Also thanks for the sqlprompt bundle. Enjoying the site everyday.

  • RE: Windows Server Access and SQL Installation

    It is still a tricky matter since administrator's can do everything. (shutting down service,...)

    My current solution:

    *Sqlserver run under an administrator account "blabla" different than "administrator"

    *Blabla added it to the sql...

  • RE: @@servername returns NULL after applying SP4

    The computername wasn't renamed in the past?

  • RE: can''''t run sp_helpdb

    The securitydescriptors in master can be out of sync with a restored database. If you look in a database the login for a certain user is Null instead of user...

    I...

  • RE: Help explaining a deadlock

    sorry, a bit in a hurry.

    check if your scripts fetches all data and are not holding transactions.

    You might check this one out

    http://www.sql-server-performance.com/deadlocks.asp

Viewing 15 posts - 1,291 through 1,305 (of 2,052 total)