BCP is not working in when i am executing using xp_cmdshell
Declare @cmd varchar(300)
Set @cmd=
'bcp "SELECT definition + char(13) + ''GO'' FROM test.sys.sql_modules s INNER JOIN test.sys.procedures p ON [s].[object_id] = [p].[object_id]
WHERE p.name LIKE ''create%''" queryout "V:\SQLBackups\SP_scripts.sql" -C -T -t -w'
exec xp_cmdshell @cmd
below is the result i am getting its not creating any sql script its working perfectly from cmd prompt
usage: bcp {dbtable | query} {in | out | queryout | format} datafile
[-m maxerrors] [-f formatfile] [-e errfile]
[-F firstrow] [-L lastrow] [-b batchsize]
[-n native type] [-c character type] [-w wide character type]
[-N keep non-text native] [-V file format version] [-q quoted identifier]
[-C code page specifier] [-t field terminator] [-r row terminator]
[-i inputfile] [-o outfile] [-a packetsize]
[-S server name] [-U username] [-P password]
[-T trusted connection] [-v version] [-R regional enable]
[-k keep null values] [-E keep identity values]
[-h "load hints"] [-x generate xml format file]
[-d database name] [-K application intent]
NULL
any help is highly appreciated
Thanks
AK
issue got resolved sql command should be in single line :)
Similar Messages
-
I am using chat-r wireless and facetime is not working but when i put rogers fido or any other carrier sim in it work. Anyone know what the problem?
I'm guessing it's a compatibility problem similar to that that T-Mobile in the US has. I'm not familiar with chat-r wireless, but I'm guessing it's not a supported carrier for the iPhone. If they can't tell you how to fix it, I'm guessing it's just plain not going to work.
-
Safari is not working on the Mac. Internet is fine. mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar only and coloured wheel appears.
From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
If extensions aren't causing the problem, see below.
Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found -
Hi Everyone,
I just deleted PS CS6 and installed PS CC 2014. I'm trying to use the Liquify Filter and it does not work. When I click on the Liquify Filter, my photo does not appear properly. The photo appears as two flourescent color fields - bright turquoise and lime green! Can anyone help me with this? Also, does anyone know if I can re-install Photoshop CS6?
Thanks!
LaraineHi Everyone....I figured it out. Strangely, although I had NEVER used Liquify in PS CC 2014....I just realized that in Liquify Advanced Mode that the "SHOW MASK" option was on by default! I unchecked SHOW MASK. Everything is OK. Whew! Tks!
-
Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
Attachments:
PWMs.vi 130 KBother problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2
-
The application maps is not working. When I try to run it opens for a few seconds with a blank screen and then closes.
Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
-
I just got an iphone 4s. Now the search iphone function is not working. When I swipe the start screen, the search box shows up. But when I type what I want to search, there is no action. Please help.
Try this...
You will Not Lose Any Data...
Turn the Phone Off... ( if it isn’t already )
Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
Wait for the Apple logo to Appear and then Disappear...
Usually takes about 15 - 20 Seconds... (But can take Longer...)
Release the Buttons...
Turn the Phone On... -
After installing Mountain Lion, iMessages and Facetime does not work. When I try to sign-in I get a message that says: The server encountered an error processing registration. Please try again later. After 4 calls to apple and 8 and a half hours on the phone. The apple people does not how to solve the problem. The last thing they told me is that they will send the problem to their engineers and I will hear from them. unfortunately they have not contact me.
During the phone calls I tried putting the date and time in automatic, changing the username and password, I even tried using somebody elses username and password. Please help, facetime is my tool to telecomute, and it is hurting my job.I had the same problem and found the solution here:
https://discussions.apple.com/thread/3189272 -
My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help
If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem. I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.
-
Clip inspector in imovie not working properly - when I select a picture (in project library) - and select clip adjustment it tells me that I need to select one or more clips to view Inspector tools and when I select a movie clip and then click on audio adjustments the audio adjustment appears as a speaker icon and I don't know how to get to the various audio options? It was working fine one minute and then I seemed to lose the functionality. Also editing a photo in a photo or getting rid of ken burns effect etc does not seem to work. help
Can anyone shed any light on this as I am having the same problem? One minute it works fine, the next you get the error message above.
Many thanks. -
My 'clear history button is not working. When I click on it it doesn't do anything and the letters are gray instead of blue like usual. I've gone to every type of settings I can think of but I don't know how to fix it. Please help .
T
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device. -
Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.
Hi Nealeh
Thanks i think I got it working of a fashion.
Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
The scenario is:- say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
Had she had a normal skimpy bikini on, no problem!
If i don't solve it, she will get fired!
Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
"Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
I have Safari on this iPad. Guess that is all it runs.
So technology is not my friend today! -
the ringer of my iphone 4s is not working but when itried to go in setting then sound and tried to change ringtone the ringer is working..pls help
Check the mute switch along the side, near the external volume controls.
-
The RAW setting in Bridge is not working. When I open Bridge I can see only icons, no images. The RAW tool icon is grey, not active. I am going on a trip Tomorrow and I need Bridge to be working. It was working earlier.
I never notied that icon before, and I've been using Bridge for 7 years.
Usually, when you have no image previews for raw files, this means that your Camera Raw plug-in is older than your camera. People always come across this problem when they use a new camera with older software.
To be sure, we need to know which camera you are using, and which version of Camera Raw. To save typing this out for the three-thousandth time, please follow this page which I wrote earlier:
http://yphotography.co.uk/articles/get-adobe-camera-raw-acr-open-photos/
This covers the subject, which is by far the most commonly asked question about opening raw files by a country mile.
If everything checks out fine, let us know. If not, give us more information and we may be able to fix this for you.
PS. Please just open one discussion per problem. There are three threads on this now. It makes it difficult to follow. -
Drag and drop not working. When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program. Happens in finder numbers, firefox, and when trying to move any file from the downloads folder.
This is a serious pain.
Please help.
WBYes, all I can tell you is that Finder does not have that function in ML. Your system is "working as expected".
You can file feedback here.
Maybe you are looking for
-
I want to buy an iphone mobile in pattaya city,thailand,so which store I can get the original one ? please advice me.Also I need idea about price.
-
BOM in standard PURCHASE order/requisition
I would like to use BOM as a specification of a "group" of materials procured many times in the same or similar configuration.(eg. servers with specific configuration listing all parts). Is it possible, to use material BOM in standard purchase order
-
JDeveloper EJB Class Editor lock
I created an EJB using JDev and used the EJB class editor to build the fields/methods in the bean. After working on the EJB for quite a while I reopened the EJB Class editor and found a blue error at the bottom of the window stating : Editor locked :
-
All text in PDF iphoto books displays 1 or more inches lower than it should
Hi all Im having a bit of trouble with my iPhoto books. Regardless of the theme when I turn the book into a pdf the text displays at least 1 inch lower that it should. It looks ok in iPhoto but is rendered incorrectly when saved as a pdf. Which means
-
I can't upload files in my Hotmail, the function doesn't response
Since yesterday I am not able to uplaod any files in my emails. I remember there was an update from firefox so it probably has something to do with that. And I know it is because of Firefox because if I use Safari it does work