Viewing 15 posts - 16 through 30 (of 70 total)
Try this. Don't put the % sign in the variable
WHERE Column1 like '%' + @Variable + '%'
August 23, 2011 at 9:57 am
How is that data stored? datetime, time, or char datatype?
August 23, 2011 at 9:35 am
I think you are looking form something like this.
SELECT ConsoleFormat, GameNumber, RetailPrice
FROM [Table1]
WHERE GameNumber NOT IN (SELECT GameNumber FROM [Table2])
August 23, 2011 at 9:32 am
I would double check your parameter assignment to the dataset in the SSRS report. You may have a report parameter pointed to the wrong sp parameter
August 23, 2011 at 9:28 am
I would try to put in a bpc or something to bulk out the data to a file. This way you can see what data is being returned.
August 23, 2011 at 8:06 am
I understand. The issue has to be with the setup of the alert, the code is clearly working as it is suppose to or it wouldn't be logging the information.
August 22, 2011 at 3:07 pm
I don't think your RAISERROR severity is high enough to cause the job to "fail" setting the alert to the operator. I belive it has to be 16 or higher...
August 22, 2011 at 2:55 pm
Let me ask this, how are you firing the notification event?
I don't think your RAISERROR severity is high enough to cause the job to "fail" setting the alert to the...
August 22, 2011 at 2:50 pm
I wonder if it is a timing thing with the job.
have you tried changing
and r.DateCreated between job.last_executed_step_date and GETDATE()
to
and r.DateCreated >= job.last_executed_step_date
Also, are you using getdate() everywhere....
August 22, 2011 at 2:36 pm
Try adding a batch size or packet size.
August 22, 2011 at 11:49 am
The %S and %d are variables. T-sql doesn’t have a format string like.Net does. You could create a CLR user defined function to implement the .NET format string but...
August 19, 2011 at 8:58 am
Insert a modifieddate where? I usually have columns on stuff like this, DateCreated and DateModified and updated them when needed.
August 18, 2011 at 1:54 pm
The difference in your way and the way I stated above is .... yours will ALWAYS run two queries and mine will only run two queries if the item needs...
August 18, 2011 at 12:30 pm
You can use the merge statement if you are on SQL Server 2008 or
--Try to update the record
Update dbo.tblData
Set Name = @Name
WHERE ID = @id
--If the row wasn't updated, it...
August 18, 2011 at 9:40 am
Viewing 15 posts - 16 through 30 (of 70 total)