Viewing 15 posts - 526 through 540 (of 812 total)
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)...
----------
Ashish
September 22, 2010 at 8:31 am
really simple and best.
thanks for sharing. updated my sql library
----------
Ashish
September 22, 2010 at 7:38 am
Thanks for the info. Have a great day!
seems like i didnt provide the correct information.
----------
Ashish
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...
----------
Ashish
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'
----------
Ashish
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.
----------
Ashish
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...
----------
Ashish
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...
----------
Ashish
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...
----------
Ashish
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...
----------
Ashish
September 22, 2010 at 3:16 am
set @ServerName = 'DEV\SERVER1'
put this also in [dev\server1]
----------
Ashish
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...
----------
Ashish
September 22, 2010 at 3:06 am
just right click on database and select task option, you will be welcomed with import/export option
----------
Ashish
September 22, 2010 at 2:46 am
need to fix this bug..
http://www.sqlservercentral.com/Forums/Topic980983-391-2.aspx#bm981475
----------
Ashish
September 22, 2010 at 2:02 am
September 22, 2010 at 1:40 am
Viewing 15 posts - 526 through 540 (of 812 total)