Viewing 15 posts - 886 through 900 (of 1,409 total)
SQLisAwE5OmE (7/18/2013)
INFO The system cannot find the file specified.
The key here is the above line. It looks like the backupfile cannot be created. Verify the filepath and access permissions to...
July 19, 2013 at 12:03 am
skempf (7/18/2013)
WHILE @@ROWCOUNT <> 0
BEGIN
.....
DELETE #TempTable WHERE OrderID = @ORDERID
END
What am I doing wrong to cause the last row of data to be duplicated?
You have defined the loop to look...
July 18, 2013 at 7:46 am
I also find the schedules you mention very odd.
A rather common frequency is:
FULL: weekly
DIFF: daily
LOG: every 30 mins
But the frequency really depends on your business requirements. How much data loss...
July 18, 2013 at 7:31 am
If you run in FULL recovery modus, you can query the [sys].[databases] table. In the column "log_reuse_wait_desc" is stated what holds the log file from being re-used (and thus is...
July 18, 2013 at 7:26 am
The SQL instance failed on the cluster. You refer (with deadlock, concurrency) to the error in the ODBC connection. This error is not the rootcause. This error just occurs because...
July 18, 2013 at 7:19 am
If you can't use the utility and you don't want to use the extracter, then it's all over. What did you expect?
Only option is what a previous poster allready mentioned:...
July 18, 2013 at 7:05 am
You could accomplish this by adding a second jobstep to each backup-job. In this second jobstep you start the next job. Only the first job has a schedule attached.
So:
You or...
July 18, 2013 at 5:37 am
There are multipe ways to get this information. Below are some examples:
select * from master.sys.dm_exec_sessions
select * from master..sysprocesses
exec sp_who2
July 18, 2013 at 3:31 am
JAMMOD (7/18/2013)[hrThanks for the replies guys! just a couple of questions on the above, would you be able to explain a bit more about why the DIFF and LOG backups...
July 18, 2013 at 2:53 am
Explanation of the code:
Both tables (june and july) are joined on the matching columns. Because it's a FULL OUTER join, all the records will be in the result, even if...
July 18, 2013 at 1:56 am
You can place this code as the first CASE statement:
WHEN DATA_TYPE = 'decimal'
THEN '(' + Cast(NUMERIC_PRECISION AS VARCHAR(5)) + ',' + Cast(NUMERIC_SCALE AS VARCHAR(5)) + ')'
You can expand the...
July 18, 2013 at 1:33 am
Because for INT and DECIMAL the value for CHARACTER_MAXIMUM_LENGTH is a NULL value. Adding a NULL value to a string will result in a NULL value.
Change the CASE statement to:
,...
July 18, 2013 at 1:13 am
If you want the highest value of multiple rows, this is also a working solution:
select
IDActivity
, MAX(Subject) as 'Subject'
, MAX(ProjectName) as 'ProjectName'
, MAX(Fullname) as 'Fullname'
, MAX(CusName) as 'CusName'
from table_name
group by IDActivity
July 18, 2013 at 12:34 am
Viewing 15 posts - 886 through 900 (of 1,409 total)