Viewing 15 posts - 16 through 30 (of 31 total)
Jeff, good thing to think about. In my case i'm the only one who use this.
September 14, 2010 at 10:10 pm
In one word. Thank you for the lesson Wayne.
When its al finished i will come back to this topic.
Kind regards,
André
September 14, 2010 at 3:05 pm
BCP is very cool.
Guys with your information and information from Ray Wong i created a function with a loop.
This works.
But i told you about the table who needs to update...
September 14, 2010 at 9:06 am
I use BCP now with a view with headers via a select, its looks very good.
But its intereseting to know more options.
September 14, 2010 at 3:35 am
I need the output in *.csv but i can concatenate the output.
Good idea to, i tried something else with a loop, come back on it today.
Thanks guys.
September 13, 2010 at 11:23 pm
Hi Wayne,
Your right about that.
Mostly i report back, i'm new, but its nice to close with the final result.
Kind regards,
André
September 13, 2010 at 8:27 am
Thanks guys, i'm gonna test a bit for the best solution.
September 13, 2010 at 7:47 am
Solution found:
DECLARE @cmd VARCHAR(2048);
SET @cmd = --'bcp [myTestNativeData] out "/myTestUniNativeData-N.csv" -U<admabo> -N -T -t","';
'bcp "select * from [Staedion Test].[dbo].[Staedion$Werknemer Afdeling]" queryout C:\TEST.txt -S S-EMPACC -U admabo -N -T -t","';
EXEC...
August 30, 2010 at 1:38 am
this is the result:
DECLARE @cmd VARCHAR(2048);
SET @cmd = 'bcp [myTestNativeData] out "C:\myTestUniNativeData-N.csv" -U<admabo> -N -T -t","';
EXEC xp_cmdshell @cmd
But now i get the following error:
The system cannot find the...
August 20, 2010 at 5:35 am
It looks like the space in the DB causes the problem, this works only now i have to play with the right user name:
DECLARE @cmd VARCHAR(2048);
SET @cmd = 'bcp...
August 20, 2010 at 5:13 am
Yeah i know, you get diskpaging. But the Ms Dynamics NAV enviroment where the writing goes, has no problem.
Altrhough a good thing to inspect.
We are looking now in page handling...
July 28, 2010 at 2:18 am
Thanks. I found the SSRS report webservice and i did the following things:
- changed sql server service user to a domain svcUser.
- Authorized the user groups to my reports.
- Authorized...
July 26, 2010 at 11:45 am
During the day the performance gets worse. And with a Ctrl-R or F5 (refresh) it looks like perfomance increases.
Thats why we have limited the cache settings in IE8 and we...
July 21, 2010 at 1:37 pm
Ok you guys, you helpt me a lot.
1.
select definition + CHAR(13) + CHAR(10) + 'GO' + CHAR(13) + CHAR(10)
from sys.sql_modules
left outer join sys.objects
on sys.sql_modules .object_id = sys.objects.object_id
where sys.objects.type='V'
2.
Export grid...
July 7, 2010 at 12:33 pm
Lol. I'm a forum newbie i see. I mostly search for solutions myself. But i see you can learn much from some solutions.
Thanks. I work in SQL2005 but i have...
July 7, 2010 at 12:20 pm
Viewing 15 posts - 16 through 30 (of 31 total)