SQL server query question

Sharky Forums


Results 1 to 3 of 3

Thread: SQL server query question

  1. #1
    Tiger Shark ToMo's Avatar
    Join Date
    Jul 2003
    Location
    HERE
    Posts
    922

    SQL server query question

    At work, when I am trying to access records from our SQL server, there is one field that is set up as VarChar and its a pretty long entry. We have it set up to 2200 characters. The thing is when I try to do a copy/paste from the field, I only get half of the field. When the data is accessed using ASP, it pulls out the entire entry. Is there a copy limit on SQL server from records? Is there a way to bypass this without having to access the data using asp/vb(maybe a table setting)? When I am trying to pull up this info its usually while I'm on the phone with a customer and it would be too much to have to access the information in that manner if I cant figure out how to get it directly from the SQL database. Anyone?
    P5W DH Deluxe | C2D E6600 | 4x1gb PC900 | 2x250gb WD Raid 0 | CPNPS9500 w/ AS5 | X-Fi XtremeMusic | eVGA 8800GTS 320mb | TruePower 550w | Acer AL2423W
    XBLA:Rott3n | xfire:tomo78

  2. #2
    Hammerhead Shark Geforce255's Avatar
    Join Date
    Jan 2003
    Location
    Corona , CA
    Posts
    1,961

    Re: SQL server query question

    Originally posted by ToMo
    At work, when I am trying to access records from our SQL server, there is one field that is set up as VarChar and its a pretty long entry. We have it set up to 2200 characters. The thing is when I try to do a copy/paste from the field, I only get half of the field.
    Enterprise manager is pretty limited, and meant for very light tasks. Also, the clipboard has some limitations on what can be saved.

    The easiest way around your problem is to use the Transact query analyzer. You can create a query using EM, and post the code into query analyzer if you don't know SQL well. Then simply change the output from a grid to a file, and you'll get the entire string in text format.
    RIG:
    XCLIO 2000 Black & Titanium Case
    KingWin Gold Certified 80+ 1000 Watt PS
    Asus P8Z77-V Premium Motherboard
    Intel Core I7 3770K @ 5.0 gHz
    Corsair CWCH70 Hydro Series H80 CPU Liquid Cooler
    CORSAIR Vengence 16GB
    PowerColor Radeon 7990 6GB
    OCZ Vertex 3 SATA 3 SSD
    1TB WD Black Edition SATA 3 + 3TB Seagate SATA 3
    Panasonic DVD
    Windows 7 Ultimate - 64 bit

  3. #3
    Tiger Shark ToMo's Avatar
    Join Date
    Jul 2003
    Location
    HERE
    Posts
    922
    I found out that even though the character limit was set high enough, there is another setting I found which is the display limit. Fixed my problem right up, but thx for the reply anyhow!
    P5W DH Deluxe | C2D E6600 | 4x1gb PC900 | 2x250gb WD Raid 0 | CPNPS9500 w/ AS5 | X-Fi XtremeMusic | eVGA 8800GTS 320mb | TruePower 550w | Acer AL2423W
    XBLA:Rott3n | xfire:tomo78

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •