Viewing 15 posts - 1,291 through 1,305 (of 1,409 total)
If you need to update existing records and insert new records you need to program a kind of MERGE command. Several samples can be found on this site.
Here's a very...
October 8, 2008 at 1:06 am
dcarpenter (10/7/2008)
select u.username +' '+u.surname,sum(total_boarded), sum(placementfee), count(p.placementid) from targets tjoin users u on u.userid = t.userid
left join placementconsultants pc on pc.userid = u.userid
join placements p on p.placementid = pc.placementid
group by...
October 7, 2008 at 5:58 am
jpim3nt3l (10/7/2008)
2. What's the best delimiter to use when exporting data?
3. What's the best way to...
October 7, 2008 at 5:55 am
Storing photo's in your database will certainly increase the database size. This will have impact on your backups and recovery. But this option will give you enhancements about integrity, because...
October 7, 2008 at 5:43 am
If the login is originated from your computer and the error is captured every 5 minutes, it could be a scheduled task.
Else I suggest to look with task-manager on your...
October 6, 2008 at 6:52 am
sudhakara (10/6/2008)
...occurred while creating or opening file 'D:\Master_Files\Model_Data'...
Looks like the SQL Engine tries to open the file 'D:\Master_Files\Model_Data', but it doesn't exist. Copy your msdb.mdf file to this location (and...
October 6, 2008 at 6:44 am
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
October 6, 2008 at 6:23 am
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...
October 6, 2008 at 5:59 am
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?).
October 3, 2008 at 5:48 am
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.
October 3, 2008 at 5:44 am
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.
October 3, 2008 at 5:40 am
Matt Miller (9/26/2008)
September 29, 2008 at 2:58 am
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...
September 26, 2008 at 5:55 am
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' --...
September 25, 2008 at 6:37 am
Viewing 15 posts - 1,291 through 1,305 (of 1,409 total)