Viewing 15 posts - 2,356 through 2,370 (of 2,462 total)
i have same query which runs on other server...that also includes join.
So to make query faster put "REMOTE" word in between the INNER JOIN
for example :
select t.name,t1.cal from...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 26, 2008 at 2:44 am
declare @LogFile nvarchar(500), @server varchar(50),@info nvarchar(500),@info2 nvarchar(500)
declare @Datafile nvarchar(500),@ans nvarchar(500)
--truncate table aud23sep
declare servercursor cursor for
select Server
from SQLServerMaster
order by Server
open servercursor
fetch next from servercursor
into @server
while...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 26, 2008 at 1:52 am
My dear
your example will get executed as u desired bcoz execution is done in the same sequence as u write in your sql script
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 25, 2008 at 3:55 am
Hi Gila,
i m directing you towards the problem of a lady ....please help her ,i m sure u wont mind it as i posted this reply beyond this TOPIC:)
http://www.sqlservercentral.com/Forums/Topic573108-357-1.aspx#bm575413
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 24, 2008 at 10:18 pm
oh.....this is a fall 🙁 in sql 2000 we have to go with
master.dbo.xp_sendmail
but sorry no idea about that
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 10:18 pm
Yeah......i know re-engineering feature but its really difficult to manage 700 tables.....the reason being we basically deals with DDL commands ....so on every time it takes a...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 10:05 pm
hi ER/studio OR erwin ?? please elaborate
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 6:45 am
In simple language....whenever you have special characters use nvarchar otherise always use varchar datatype
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 6:43 am
yeah ...u r right 🙂
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 5:57 am
ALTER TABLE ADD CONSTRAINT [name of constraint] UNIQUE NONCLUSTERED
(
[column name1] ,
[column name2] ,
[column name3]
)
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 5:51 am
insert into table select 'O''rean'
replace single quote with double quote
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 5:44 am
i know .....truncate cant be stopped by trigger 🙂 but
can we think beyond the available features of sql 2005
is there any sys tables or catalog view by...
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 5:32 am
You can apply INSTEAD OF trigger FOR DELETE on that particular table
if you want i can give you script also but if you try yourself 🙂
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 5:03 am
include following script in your Stored Proc
declare @sqlcmd varchar(200)
SET @SQLCmd = 'copy c:\dba\sampl.xls c:\dba\sampl_2.xls'
EXEC master..xp_cmdshell @SQLCmd , no_output 🙂
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 23, 2008 at 4:55 am
Viewing 15 posts - 2,356 through 2,370 (of 2,462 total)