Viewing 15 posts - 1,906 through 1,920 (of 5,394 total)
No. If you want people to respond on this thread, add a link on the old one and I'll delete the duplicate post link above.
February 14, 2012 at 3:32 am
GilaMonster (2/14/2012)
I think this calls for another blog post added to the to-write queue. When I start blogging again I'm going to have no shortage of topics.
See? My ignorance is...
February 14, 2012 at 3:30 am
What do you mean with "effected"?
Modified?
Currently locked?
...?
February 14, 2012 at 3:19 am
GilaMonster (2/14/2012)
Dropping a column is a meta-data only operation. SQL just changes the metadata to say that the column isn't there any longer and bumps...
February 14, 2012 at 3:15 am
Jeff Moden (2/13/2012)
I guess my only question would be... why are you doing this by column number instead of by column name?
+1
I guess you're complicating things too much.
Can you...
February 14, 2012 at 3:04 am
February 14, 2012 at 2:59 am
Thank you very much for the great feedback, George!
I'm very surprised to see that the column was dropped instantaneously. I'm still wondering why.
February 14, 2012 at 2:54 am
Under which account is SQL Server Agent running? Is it [NT SERVICE\SQLSERVERAGENT] or a domain user?
Please run this to discover the service account name.
SELECT servicename, service_account
FROM sys.dm_server_services
WHERE servicename LIKE...
February 14, 2012 at 2:49 am
I don't understand what OSQL does here.
I would connect to SQL 2000 with query analyzer as "RemoteSql" and try to query the linked server.
Does this work?
February 13, 2012 at 7:19 am
Where does RemoteSql login come from? Is this the login used by the linked server security or the login that runs the Agent job?
February 13, 2012 at 6:09 am
ekknaveen (2/13/2012)
even if you can suggest me the general query which will work in all databases it would be great
I don't think such a syntax exists. I'm afraid you will...
February 13, 2012 at 6:06 am
This should do the trick:
DECLARE @A TABLE (
col1 varchar(3),
col2 date,
col3 int
);
INSERT INTO @A
SELECT 'us', '01/01/2012', 10
UNION ALL SELECT 'us',...
February 13, 2012 at 4:33 am
Maybe.
If you post table scripts, sample data and expected results based on sample data things would be much easier for us.
Please, read the article linked n my signature line and...
February 11, 2012 at 2:49 pm
Viewing 15 posts - 1,906 through 1,920 (of 5,394 total)