Viewing 15 posts - 526 through 540 (of 816 total)
try with wizard.
the column might be referred in some FK.
September 22, 2010 at 10:43 am
i just tried to replicate this but i am not able to see any problem.
What I did :-
1) table create as order with startdate and enddate as 2 columns(both datetime)
2)...
September 22, 2010 at 8:31 am
really simple and best.
thanks for sharing. updated my sql library
September 22, 2010 at 7:38 am
Thanks for the info. Have a great day!
seems like i didnt provide the correct information.
September 22, 2010 at 4:44 am
yes you can,
go in configuration manager-- go to client configuration--select alias.
you will have 4 option
alias name :- put what you want your server to be named as
pipe name/port number...
September 22, 2010 at 4:38 am
have you tried the one which i mentioned?
remove the extra exec here
so your @command_01 will be '['+@ServerName+'].master.dbo.xp_fixeddrives'
September 22, 2010 at 4:26 am
if you interested in using impor export wizard, then you can choose flat file as your destination to export the data in txt file.
September 22, 2010 at 4:25 am
exec master..xp_cmdshell @command_01
'EXEC' is not recognized as an internal or external command, operable program or batch file.
the problem is because of this
set @command_01 = 'EXEC ['+@ServerName+'].master.dbo.xp_fixeddrives'
remove the extra exec...
September 22, 2010 at 4:02 am
the DMVs mentioned in the link are for 2005 onwards... but similar problem you can google with sql server 2000.
I am sure you will find some queries in this website...
September 22, 2010 at 3:26 am
['+@ServerName+'].master.dbo.xp_fixeddrives'
the result of @command_01 runs properly if I execute the script manually however if I use
sorry didnt noticed that
exec sp_executesql @command_01
that's the time I get errors
try
EXEC master..xp_cmdshell...
September 22, 2010 at 3:22 am
Is there a script to export only data in all user tables in SQL Server 2005 database?
if you mean by 'export only data FROM all user tables' then yes select...
September 22, 2010 at 3:16 am
set @ServerName = 'DEV\SERVER1'
put this also in [dev\server1]
September 22, 2010 at 3:10 am
i think to be ready for interview, you need to first understand the requirement the company have which they generally mention in roles and responsibility.
They might be looking for...
September 22, 2010 at 3:06 am
just right click on database and select task option, you will be welcomed with import/export option
September 22, 2010 at 2:46 am
need to fix this bug..
http://www.sqlservercentral.com/Forums/Topic980983-391-2.aspx#bm981475
September 22, 2010 at 2:02 am
Viewing 15 posts - 526 through 540 (of 816 total)