Viewing 15 posts - 61 through 75 (of 185 total)
Oh,
I'm sorry Parthy, I missed the IDENTITY_INSERT ON/OFF statements.
your query works for me. thanks
Best Regards,
Ami
November 4, 2010 at 4:33 am
Hi Grant Fritchey,
I didn't mean it. I need a starting point(that why i mention ignition). I take your suggestion. Let me go through Kalen's book.
Thanks a lot,
Regards,
Ami
October 18, 2010 at 9:59 pm
Before going for a live data base what are the things we need to consider and steps should be taken as a vibrant intuitive DBA?
On memory utilization, space, Performance tuning,...
October 17, 2010 at 6:32 am
Wow Craig,
Thanks,
Just now I found out the mistake and thought of posting the answer.
You are so quick and posted before me.
Thanks a lot,
Ami
September 20, 2010 at 12:53 am
Hi All,
Thanks for everyone's input.
What ever you use sys.objects or information schemas the sp_OAMethod gives the script with the old SP name only.
When you right on...
August 19, 2010 at 10:05 pm
Hi,
DECLARE @SPName VARCHAR(150)
DECLARE CURSCRIPT CURSOR FOR
SELECT name FROM SYSOBJECTS WHERE XTYPE = 'P'
DECLARE @oServerint
DECLARE @methodvarchar(300)
DECLARE @TSQLvarchar(4000)
DECLARE @ScriptType int
EXEC sp_OACreate 'SQLDMO.SQLServer', @oServer OUT
EXEC sp_OASetProperty @oServer, 'loginsecure', 'true'
EXEC sp_OAMethod...
August 18, 2010 at 4:10 am
Hi,
SELECT * FROM SYSOBJECTS WHERE XTYPE = 'P'
output of this query gives the new SP name.
My problem is while getting the create script for the same gets created in old...
August 18, 2010 at 2:34 am
Hi all,
Thanks for the inputs.
I've checked in 2005. the Script Procedure --> Create gives the correct modified SP name. But while creating from the mentioned script it is...
August 17, 2010 at 11:23 pm
Hi Sachin,
thanks for responding. as i mentioned.
My objective is to update a set of tables across the network on a timely basis.
it is for updating price details of certain...
July 27, 2010 at 3:06 am
Sorry,
I think I have not explained you clearly.
I have the same username in the Servername-->Security.
I'm able to map to other Dbs in the same server. but not to a...
July 21, 2010 at 4:49 am
yes it exists.
and I'm able to give permissions for other DBs. But not to a particular Database
-ami
July 21, 2010 at 1:30 am
i'm trying to get what Paul is saying. but in first case and else part it is giving 1.
where 1 =1 satisfies i get all the rows.
by the way
for...
July 20, 2010 at 2:57 am
Thanks to Eugene and mthurber nice and easy way of achieving it.
by the way, Mr. Paul, i still don't understand the logic behind it.
SELECT * FROM Tbl1
WHERE 1 = 1
If...
July 19, 2010 at 10:31 pm
Hi Paul,
It's working. Actually I found a round about way & accomplished.
declare @t1 table(type int)
if @type =0
begin
insert into @t1 values (1)
insert into @t1 values (2)
end
else
insert into @t1 select @type
select...
July 19, 2010 at 3:32 am
Hi,
I would like to get result like
1abcdef
2defdef
3ghidef
4klmdef
5klmklm
where the relevant names for the orderedby and receivedby staffids.
thanks,
ami
July 18, 2010 at 12:13 am
Viewing 15 posts - 61 through 75 (of 185 total)