Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AndyHopper

    Easiest Way to Keep Local Table in Sync with Remote Views

    What is the easiest way to keep a setup of local table in sync with views on a remote server to which I have limited access? Thanks in advance!!!
  2. AndyHopper

    How to migrate accounts from one Qmail server to another?

    I've done a little more research and come up with the following process. Before I do this on our live server, could someone confirm it's the right processs... http://www.andrewhopper.com/tech/qmail_migration.html Thanks
  3. AndyHopper

    How to migrate accounts from one Qmail server to another?

    I need to migrate current mail and accounts from one Qmail server to another. Do I just need to rsync /var/qmail/conrol and /home/vpopmail and switch the DNS? How do I forward messages that still go to the old server after the new one is online? What else do I need to be aware of? Thanks!
  4. AndyHopper

    Export binary to Text file; 0x converted to 00???

    I'm migrating a web app from MSSQL server to Postgres and I've encountered a strange problem I can't seem to get around. I export the data from my Microsoft server to a text file, everything work flawlessly with the exception of the image columns. It seems as though when the data is exporting...
  5. AndyHopper

    MSSQL -> Postgres stored procedure migration/plpgsql help?

    I worked some of the kinks out and got this function to run, however it doesn't insert any data :-(. CREATE OR REPLACE FUNCTION log_page_view(INTEGER,VARCHAR,VARCHAR,VARCHAR,VARCHAR) RETURNS INTEGER AS ' DECLARE local_account_id ALIAS FOR $1; local_cookie_id ALIAS FOR $2...
  6. AndyHopper

    MSSQL -> Postgres stored procedure migration/plpgsql help?

    I'm migrated a webapp from MSSQL to Postgresql and I'm having some problems with the store procedure. This is what I have so far, but it doesn't seem to be working. What I need to do 1.) Get the visitor_id I want to check to see if the current cookie is associated with a visitor_id, if the...
  7. AndyHopper

    Complex grouping to analyze web stats

    Thanks RT!!! I didn't realize subqueries can be selected from like that. Here are the statements which I'm now using to accomplish exactly what I described above :). Top Exit Pages Select Count(RequestUri) as hits,ServerName,RequestUri FROM Web_Log b WHERE LogID IN( select a.LogID from...
  8. AndyHopper

    Complex grouping to analyze web stats

    Each time a page is viewed on my website, the time, session, url, and refferer are recorded. I'm trying to analyze this information to make some sense out of it. I've managed to accomplish almost everything I'm looking to do except for the following tasks. This is the table structure...
  9. AndyHopper

    SQLOLEDB Subquery not working properly

    Here's my table structure; idxmls1 - the data on the remote server ------ id etc.... ToDownload - a list of id numbers I need to download ---------- MLS Here's the query I'm trying to execute to generate the data from the remote server. The query executes without any problems, however...
  10. AndyHopper

    Expression result length exceeds the maximum????

    Problem solved! I as using the wrong syntax for the SUBSTRING function.... I was using SUBSTRING(string,start,end) but I should have been using SUBSTRING(string,start,length). Ooops!
  11. AndyHopper

    Expression result length exceeds the maximum????

    I'm still completely stumped by this problem. It appears that the SUBSTRING function is outputted an error when it tries to access image data after the 8000 character mark? I don't understand why this behavior is happening, and I haven't been able to find any explaination. I can work with the...
  12. AndyHopper

    Expression result length exceeds the maximum????

    Hmm, the sql query string is only 2500 characters or so. It all fits in one local variable. The problem is def in the rowsize limit of SQL. Is there any way to circumvent this though?
  13. AndyHopper

    Expression result length exceeds the maximum????

    After I posted my message I realized I could just concaterate the string like Zathras mentioned. I've done that, but I'm still receiving the same error. It appears as though there's a maximum rowsize of 8000 characters. Here's the response from the server:SELECT SUBSTRING(medium_photo,0,255)...
  14. AndyHopper

    Expression result length exceeds the maximum????

    Thanks for the response!! It's prompts another question- The max size for a VARCHAR dataype is 8000 characters, and local variables cannot be text or ntext, so, how can I accomplish this if there are no variables large enough to hold the sql query?? Thanks in advance
  15. AndyHopper

    Expression result length exceeds the maximum????

    I'm working on a stored procedure that will split up an image into a bunch of different columns so that I can display images using a php script. This is necessary, b/c php will only return 255 characters per field. I've been able to sucessfully generate the sql query, but it isn't executing...
  16. AndyHopper

    Can variables be used within create database command?

    I tried writing a sql script to create my database. Is is possible to use variables in the CREATE DATABASE command such as I have done below? I've been getting some errors and haven't determined if this usage is allowed. /* define variables for this script */ DECLARE @DBFilePrefix...
  17. AndyHopper

    VPN clients loose access to internet

    I have a Windows 2000 server running routing and remote access and server as a NAT router providing internet connectivity to an internal network. When clients connect to the local network using VPN they loose the ability to connect to the internet. The clients are Windows 2000 or Windows XP...
  18. AndyHopper

    DNS Catchall, Wildcard, or Alias; whatever.domain.com->www.domain.com?

    I've setup a zone on my Windows 2000 Server for my domain, but I haven't been able to determine how to setup a catchall, alias, or wildcard dns record. I'd like to direct whatever.domain.com to www.domain.com without explicitly creating a new cname record for whatever.domain.com. Essentially...
  19. AndyHopper

    Limiting results of joins

    I have a table with some property information, another table with some more information about those properties, a table which contains the relationships between media files and properties and a table to contain media. When I use joins to get the information I'm looking for I return more rows...
  20. AndyHopper

    complex right outer join question

    Thanks for the prompt reponse rudy, however it won't solve my problem. My problem is some properties will not have a picture, but I still need to get the information about the property. Other properties will have may pictures, but the picture may not be specified as the default, in which I...

Part and Inventory Search

Back
Top