Viewing 15 posts - 121 through 135 (of 221 total)
Hi,
Thanks for you help.
I've been playing with this, and you're right it does work but doesn't give me the solution to the problem i have. I've given @table as an...
January 23, 2013 at 9:20 am
I was going to suggest the NOEXPAND hint! I couldn't see anywhere in the thread to see what edition of SQL Server the OP is using. Unless it's enterprise edition...
January 23, 2013 at 8:43 am
Worked an absolute treat! Thanks very much!!
January 17, 2013 at 6:16 am
Hi,
OK, so couldn't you just add the table you want to replicate and then use a row and column filter? I'm not sure how you'd do that in script but...
January 10, 2013 at 7:04 am
Hi,
Depending on where you are in the world you may or may not find this site interesting/useful.
http://www.metoffice.gov.uk/datapoint
I've never done anything with it myself but it looks like you can get...
January 10, 2013 at 5:56 am
Hi,
I'm not sure whether that would work or not. If you've got a smaller database to test it on then go for it, you've got nothing to lose if it's...
January 10, 2013 at 5:52 am
Hi,
I'd use rownumber() to do that. Given what you've described then this should do the trick:
SELECT
x.TargetID, x.TargetName, x.Interaction, x.Created
FROM
(
SELECT
*, ROW_NUMBER() OVER (PARTITION BY TargetName, [Interaction] ORDER BY...
December 19, 2012 at 9:27 am
Hi,
I'd say getting the answer out of the plan cache was your best bet. There seems to be a good article on it here:
Thanks,
Simon
December 18, 2012 at 7:07 am
Hi,
The best way in my opinion would be to use Regex and some CLR functions to replace the characters. Read this article:
http://www.simple-talk.com/sql/t-sql-programming/clr-assembly-regex-functions-for-sql-server-by-example/[/url]
Once you've got the functions installed then it's as...
December 18, 2012 at 6:48 am
Could that query form part of a stored procedure that has a RECOMPILE hint either for the whole proc, or just that statement itself?
December 3, 2012 at 8:45 am
Hi,
Yes i used to work with a credit card processing system that used to increment by 10 and started seeding at 10000. I don't know why that was chosen as...
November 29, 2012 at 9:01 am
Hi,
When you said you could do the differential bakcup following the full backup how were you running this? Through the GUI? If it was, it could be that your sql...
November 29, 2012 at 8:57 am
Hi,
You can do it with Powershell. I'm not saying this is the best way but i tested it here and it seemed to work for me.
# This is the source...
November 29, 2012 at 8:45 am
No worries, glad it worked.
Thanks,
Simon
November 29, 2012 at 8:13 am
Hi,
You can do it with a CASE statement. I've included an example below.
DECLARE @Cars TABLE
(
BodyStyle VARCHAR(50)
)
INSERT INTO @Cars
SELECT 'Sedan'
UNION ALL SELECT 'Sedan'
UNION ALL SELECT 'Sedan'
UNION ALL SELECT 'Sedan'
UNION ALL SELECT...
November 29, 2012 at 7:58 am
Viewing 15 posts - 121 through 135 (of 221 total)