Viewing 15 posts - 4,291 through 4,305 (of 13,469 total)
Minnu (12/4/2012)
Sorry for asking,my requirement is:
i've to call the stored procedure based on "id" and get the corresponding Name from the temp table.
Please suggest
wouldn't that be a simple select?
SELECT...
December 4, 2012 at 6:54 am
it also gets a lot more difficult if you have any constraints on any of those 50 columns...unique constraints, indexes, defaults, etc could prevent the ALTER command from completing.... all...
December 4, 2012 at 6:52 am
great job on providing sample ddl and data!
does this do what you are after?
With CurrencySplit(currencypair,rate_value ,ccy1,ccy2)
AS
(
SELECT
currencypair,
rate_value,
LEFT(currencypair,3),
RIGHT (currencypair,3)
...
December 4, 2012 at 5:32 am
as i remember it, MSDAORA is 32 bit, no longer supported, adn only works correctly on oracle 9 and below;
10,11 and above changed the way they handle BLOB/CLOBS, and you...
December 3, 2012 at 1:46 pm
this is what i would suggest first thing, since it's not a bad thing to update statistics:
DECLARE @Exec VARCHAR(MAX)
SELECT @Exec = ''
SELECT @Exec = 'UPDATE STATISTICS ' + QUOTENAME(schema_name(schema_id))+ '.'...
December 3, 2012 at 1:11 pm
umm... one nic card can listen to multiple IP addresses, right? so there's no need for 6 nic cards to watch 6 ip addresses, if that's what they are thinking.
here's...
December 3, 2012 at 1:08 pm
glad it's working for you!
one more thing to consider:
if you create a new database via a RESTORE, that does not trigger the CREATE_DATABASE event. that triggers the event AUDIT_BACKUP_RESTORE_EVENT, which...
December 3, 2012 at 9:55 am
you need to provide more details; the actual execution plan would tell us exactly what happened,a nd we could identify the items in the execution plan that is causing performance...
December 3, 2012 at 8:14 am
I'm sure you have to use extended events, specifically on the
AUDIT_BACKUP_RESTORE_EVENT
I did something as a prototype that did a few things on my dev server;
if you restored a database,...
December 3, 2012 at 6:55 am
yeah, i just scripted a CREATE DATABASE from the GUI; you can see it does a bunch of alters for the properties after it does the create:
CREATE DATABASE [Example] ON...
December 3, 2012 at 6:45 am
the event data is going to have the new database name...it's already been changed by thetime you get to the ddl trigger, unless you force a rollback.
you could rollback ,...
December 3, 2012 at 6:30 am
arunyadav007 pointed you in the right direction, here's a code model for your trigger.
I',m not sure if you are just inserting the changes, updating existing, or what;
i'd think there needs...
December 3, 2012 at 6:10 am
you just need to add an alias, sorry:
select * from openquery([abc],'SELECT
...
November 30, 2012 at 2:49 pm
crowellc (11/30/2012)
November 30, 2012 at 2:46 pm
in that case, assuming you wanted the value as columns again like your first query, it would go like this...notice i did a simple cross join, on a table we...
November 30, 2012 at 12:55 pm
Viewing 15 posts - 4,291 through 4,305 (of 13,469 total)