T sql dose not work in SQlCompact

im useing a T Sql in SQlCompact database but
it dose not work the function is stuff() that forgathering values in on
cell this is the select
Statement but it shows me an error asking
for help
SELECT Pepole.ID,
Pepole.FNA, Pepole.LNA, STUFF ((SELECT ', ' + Name AS Expr1 FROM Special AS S2 WHERE (ID = PeopleTarget_1.SpecialID) FOR XML PATH('')),,,) AS Names FROM Pepole INNER
JOIN PeopleTarget AS PeopleTarget_1 ON Pepole.ID = PeopleTarget_1.PeopleID INNER JOIN Special
AS Special_1 ON PeopleTarget_1.PeopleID = Special_1.ID

SELECT Pepole.ID, Pepole.FNA, Pepole.LNA, STUFF
((SELECT ', ' + Name AS Expr1
FROM Special AS S2
WHERE (ID = PeopleTarget_1.SpecialID) FOR XML PATH('')),,,) AS Names
FROM Pepole INNER JOIN
PeopleTarget AS PeopleTarget_1 ON Pepole.ID = PeopleTarget_1.PeopleID INNER JOIN
Special AS Special_1 ON PeopleTarget_1.PeopleID = Special_1.ID

Similar Messages

  • Force encryption on SQL Server not working?

    Hello Everyone,
    I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set  "Force Encryption"  and restarted SQL server. 
    I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
    that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
    When I connect to the same SQL server from the same client but  UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
    Ameer Deen

    Hi all,
    We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
    communications through SSL:
    http://technet.microsoft.com/en-us/library/ms191192.aspx
    When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
    B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
    We have also review the following forum post that is very similar to this one:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
    In all cases the Microsoft answer is:
    “When the
    Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
    connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
    When we run the provided DMV statement to check if encryption is enabled:
    -- To check whether connections are encrypted between server and clients
    SELECT encrypt_option
    FROM sys.dm_exec_connections
    We get “TRUE”. So theoretically encryption is enabled.
    Then:
    Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
    Are we wrong when we expect server A to refuse any client that do not have the right certificate?
    How can server B, without any certificate, decrypt the data encrypted by server A?
    Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
    anyone please confirm ti?
    Thanks for your help.
    Best Regards
    Benjamin Moles

  • Why youtube dose not work on my macbook pro 10.6.6?

    why youtube dose not work on my macbook pro 10.6.6 ?

    Double check you have the latest version of Adobe Flash.

  • Hi i have a ipod touch 4 generation 64gb and my camera is blocked and dose not work i cant update the ipod either

    hi i have a ipod touch 4 generation 64gb and my camera is blocked and dose not work i cant update the ipod either

    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: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • My PS CC 2014 dos not work. It starts up and then its stops.

    Hi My PS CC 2014 dos not work properly. It starts up but stops wen i won't to work with it. wat is the problem

    Please read these and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325

  • My macnotebook air cam dose not work

    my cam built in macbook air dose not work in anyway
    mainly started not working in yahoo meenger and skype
    now face time and photo booth

    Take it to an Apple store to be repaired. The screen will need to be replaced as just the camera can't be replaced by itself. If it a newer unit and or you have Applecare and it is less then 3 years old it will be covered by the warranty. If it is older and or you do not have Applecare then the repair will be at your expense.

  • When I click PDF file, the file does not open and  installation software for creative suite automatically begin to start. Even after re-installation of creative suite 5.5, only acrobat reader dose not work and the same phenomena occurs.

    When I click PDF file, the file does not open and  installation software for creative suite automatically begin to start. Even after re-installation of creative suite 5.5, only acrobat reader dose not work and the same phenomena occurs.

    Did you ever install Acrobat? It is not installed automatically with CS, but requires an extra installation step.

  • HT1727 my cd-r audio dose not work in my car. WHY

    my cd-r audio dose not work in my car. why

    having the same problem. frustrated. and yes, you are only allowed to burn song so many times that we purchase. I have tried to burn them about 5 times now. they burn ok, and play on the computer ONLY! I burned them to a cd rw and on max speed and set preference to music. won't play in the car or any stereo system. frustrated.

  • My App dose not work, how do I get my money back?

    I purchased a Game Pad Companion App and dose not work, how do I get my money back?

    Have you first contacted the maker of the maker of the application?
    You can contact Apple here for Mac App store purchases.
    -> http://www.apple.com/support/mac/app-store/applications/

  • My iPhoto dose not work from 0:00 Sunday. I was deleting and downloaded again but dosn't work! Why?

    My iPhoto '11 dose not work from 0:00 Sunday. I was deleting and downloaded againg but the problem is same.

    Sorry but we need more to go on thatn it does not work
    what happens? what does not happen? what error messages to you get? if it crashes post the first 50 lines of the carash report
    LN

  • When i try to use Command   c it dose not work at all with any program but Command   x and v works ?

    when i try to use Command   c it dose not work at all with any program but Command   x and v works ?
    i don't know what to do and how to fix it and why it habend ??????!!!!!!!!!

    Open the Speech pane of System Preferences and check whether either the listening key or the speech key has become set to that keystroke; if so, change the setting.
    (63123)

  • Scrolling in firefox while i use silverlight dose not work

    <i>Locking duplicate thread.<br>Please continue here: [[/questions/1059602]]</i>
    i use microsoft silverlight in my work but scrolling dose not work to up/down the page please help
    it was work but now it's not

    If images are missing then check that you aren't blocking images from some domains.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Since I installed the latest Firefox my Roboform dose not work. It still works with IE.

    Since I installed the latest Firefox my Roboform dose not work. It still works with IE.

    I have Roboform Pro, I don't want to down grade to Lite. Roboform is working, but I can't get the full Toolbar to display all that shows up is the Show Toobar icon and nothing happens when I click it. So I can't fill in log on forms. Isn't there a way to get the pro version to work?
    Thank you for your input and trying to answer my questions.

  • Nokia N95 - GPS dos not work & Barcode Scan not wo...

    Hi.. I have Nokia N95 (N95-1 by user manual) - device firmware soft version
    11.0.026
    17-04-07
    RM-159
    Nokia N95(05.01)
    When i try use "GPS position" application or "Maps" it's dos not work. All ways i see - "no connected" in status (in my home, in street and other open places). In all times that i'am user my N95 only one time by command "Satellites State" y have screen with 2 satellite (~5second) and other time allways "No Data or No Connected Satellites".
    Q: Whats the problem - it's that Qaulite(or Strong) of GPS(for that needed like it GPS)? or it's defect and GPS must work avrever (and home, and on street)
    When i try use application "Barcode Reader" - it's no one times dos not readed barcode? Only try? and try, and try... all times?
    Q: Why dos not work? who see worked "Barcode reader"?
    Thank to ALL..
    (with love from Russia)
    Nokia! Take a care for me and we real say THANK YOU NOKIA and you can collect a more money

    First of all , you should update to the newest firmware (v20). If you can of course, for some network branded phones update is not available yet.
    As for GPS, first fix is taking a long time (5 to 10 minutes).
    In v12 and above A-GPS (assisted GPS) was added to speedup the process. It's using data connection for initial lock.
    And make sure you're not covering tha hash key, that's where GPS reciever is. It will get a fix, just be patient because it will take some time.
    Barcode reader is not for reading normal barcodes (like on products). It's used for Nokia's mobilecodes. You can check it here
    Message Edited by krisq on 28-Dec-2007 11:54 AM

Maybe you are looking for

  • Round up a figure like 26.54

    Can any one tell Function module to round up a figure.

  • Extending Role Object with additional attributes

    All, I understand that there are 5 attributes available for the Object type as displayed in the 'object' table in the Sun IdM DB repository. As such, i would like to add to the Role object a couple of primitive type attributes. I would appreciate if

  • Which temp is correct BIOS or PC Alert 4?

    I noticed that temperature in PC Alert 4 is always 3-4C higher than in BIOS. Which one is correct? KT4 Ultra XP 2400+ with Volcano 7+

  • K7T Turbo2 and new Athlon 1700

    Hello! I have a K7T Turbo 2 motherboard with an AMD Duron 1200, which ran fine. I recently purchased AN AMD Athlon 1700+ so that I could take advantage of the 133 FSB on the board rather than the 100 FSB of the Duron. The first thin I did was flash t

  • Is there a way to NOT check one of my two mail accounts automatically?

    I have two mail accounts: a personal and work account. I get unending work emails, most of which I don't need to read or respond to. Is there way to get my iPhone to check and alert me when I have new personal mail (like it currently does) but NOT al