Viewing 15 posts - 3,376 through 3,390 (of 9,643 total)
I just went to a session on Event Notifications by Jonathan Kehayias at SQLSaturday #32 in Tampa last Saturday where he showed how he did something similar so you should...
January 28, 2010 at 6:40 am
Something like this:
CREATE PROCEDURE sync_employee_table
AS
SET NOCOUNT ON
IF EXISTS (SELECT 1 FROM linkedserver.DATABASE.sys.tables WHERE NAME = 'Employee')
BEGIN
UPDATE L
...
January 28, 2010 at 6:33 am
Is it possible that you have 2 instances of SQL Server installed? One may be patched and the other may not.
January 28, 2010 at 6:24 am
The other thing to keep in mind is that you will need licenses for all the servers you are planning to install on.
January 28, 2010 at 6:22 am
SSRS does not support custom CSS. See here. I think I read somewhere that you can hack the stylesheet for your report server instance to make things look...
January 28, 2010 at 6:18 am
Sounds like you just need to use the PARTITION BY clause on the ROW_NUMBER() function.
Something like:
ROW_NUMBER() OVER (PARTITION BY sName ORDER BY dtAsOf)
PARTITION BY basically restarts the numbering whenever the...
January 27, 2010 at 1:37 pm
Lynn,
Yeah, I also did one with a CTE that used MAX(fx_date) instead of the Row_Number function, but, on the limited 2 rows of data the windowing function solution produced a...
January 26, 2010 at 2:46 pm
Ray K (1/26/2010)
Lynn Pettis (1/26/2010)
Alvin Ramard (1/26/2010)
Alvin Ramard (1/26/2010)
Alvin Ramard (1/26/2010)
I cou'dn't resist in this one as the OP did not ask a question. 😎http://www.sqlservercentral.com/Forums/Topic853917-392-1.aspx?Update=1
Edit: Oops, I missed...
January 26, 2010 at 2:34 pm
Here's a solution, but I probably wouldn't use it against a large table without some kind of date filter:
CREATE TABLE Trade (trade_date DATETIME);
CREATE TABLE fx
(
...
January 26, 2010 at 2:32 pm
What happens if you put fully qualify the table (schema.tblTest)? You really should fully qualify objects regardless, but I'm guessing that somehow this is your issue.
January 26, 2010 at 2:12 pm
The only reason I can see that this might send 2 emails is if you have multiple email addresses in the contacts.email column.
There is one issue with this trigger though,...
January 26, 2010 at 9:53 am
Can you run Profiler when you execute the asp page and post the results? Just add the Error And Warnings: User Error Message to the Standard Template and you...
January 26, 2010 at 9:40 am
RedGate now offers a tool for object level recovery SQL Object Level Recovery Native that will recover an object from a native sql server backup.
January 26, 2010 at 7:59 am
So RoomCode was incorrect, but Floor was correct? Are you sure everything else is the same in each row and that the sort order is just different? Are...
January 26, 2010 at 7:39 am
Sounds like the component did not get registered in the GAC. I wrote a blog post about how to install the assembly here.
January 26, 2010 at 7:26 am
Viewing 15 posts - 3,376 through 3,390 (of 9,643 total)