Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 1,417 total)

  • RE: SQL Server Error Msg

    The time-difference between the two computers are to large. See if the answer on these two websites give you the solution:

    http://support.microsoft.com/kb/297234

    http://suppot.moonpoint.com/os/windows/domain/clocks-skewed.html

  • RE: Conversion

    I thought putting the integer value 500000 into a varchar(5) would result in a string with value '50000' (removed last 0). Now I learned it's resulting in a string with...

  • RE: Automatically assigning permissions after attach

    You can try to periodically run a job that checks if a new database is added. If so, grant users the permissions to that database (using dynamic SQL?).

  • RE: Integration services in configuration manager

    You need a network-service account when the service needs to read from or write to a network location. When this is not required you can use a local account.

  • RE: SQL Server Agent cannot be started

    Did it ever run correct? If so, what has changed?

    Under what service-account is the service running? Try using the same account as the SQL Server Engine Service.

  • RE: left outer join

    Matt Miller (9/26/2008)


    Actually - no. A row is only updated once in each operation, so if a join might yield the same left rowmultiple times, the row is updated...

  • RE: Query

    If you mean a 'Carriage Return' by CR then look at the "char" function: char(10) = linefeed, char(13) = carriage return.

    Replace the '~~' with the technique Lowell showed in a...

  • RE: SQL Jobs Execution

    It's easier to add filters to your reports to only use data before {today}-00:00hr.

    Even when you start a job at exact 24:00hr it can take some time before the action...

  • RE: Problem in Join Queries

    try this:

    SELECT *

    FROM [Option]

    LEFT OUTER JOIN

    (SELECT VehicleOption.OptionID, VehicleOption.VehicleOptionID, VehicleOption.VehicleID, VehicleInfo

    FROM VehicleOption

    LEFT OUTER JOIN Vehicle ON VehicleOption.VehicleID = Vehicle.VehicelID

    WHERE VehicleInfo = 'TOYOTA' --...

  • RE: with (nolock) replacement/substitute

    To prevent loss of speed with your queries without the WITH (NOLOCK) option, you must keep all exclusive locks (INSERTs, UPDATEs) to a minimum. That means optimizing the code to...

  • RE: insert values in to table and and save using storedprocedue

    swapshines9 (9/24/2008)

    Now I need to create sp that insert values in to the third table and save, but the EmpDeptName should not be visible in the backend. Actually I had...

  • RE: left outer join

    I quess a UPDATE-trigger would be fired multiple times, but I'm not sure. You can test this by letting the trigger add a row with the updated values to a...

  • RE: varchar to datetime

    The_SQL_DBA (9/24/2008) if not what is the level of risk we are talking about here?

    Your environment is working at this moment, so you could leave it as is. But invalid...

  • RE: varchar to datetime

    If you have to change several columns, try to split up the changes in portions you can handle. Begin with adding 1 (empty) column. Fill this column with converted datetime...

  • RE: Insert intotabl

    Primary Key can only contain unique values. You second insert tries to add value 1, 2, 3, 4 and 5 to the primary key but these values allready exist, thus...

Viewing 15 posts - 1,306 through 1,320 (of 1,417 total)