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 TouchToneTommy 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. jasonsalas

    Wrapping TEXT field in quotes

    hi ryan, i've found that i can't do VARCHAR(MAX) because i'm running SQL 2000. my host is nice enough to migrate just that table to SQL 2005. :)
  2. jasonsalas

    Wrapping TEXT field in quotes

    thanks george! yeah, i'm learning this is quite the challenge!
  3. jasonsalas

    Wrapping TEXT field in quotes

    hi simi, that didn't take either. the issue is the '+' concatenation operator...TEXT fields see it as trying to do addition, which causes it to error.
  4. jasonsalas

    Wrapping TEXT field in quotes

    i'm running SQL Server 2000. thanks!
  5. jasonsalas

    Wrapping TEXT field in quotes

    hi all, i'm trying to export a DB table i've got to CSV, part of which requires me to have to wrap a field of type TEXT in quotations ("). concatenation doesn't work because SQL Server thinks i'm doing an addition operation: SELECT id,title,'"'+body+'"' as [body] FROM table i tried CAST'ing...
  6. jasonsalas

    Testing if column value is of type INT

    Thanks! It worked out. I really appreciate the help.
  7. jasonsalas

    Testing if column value is of type INT

    Hi everyone, I'm hoping someone can help me out with a problem. I'm trying to run a SPROC that needs to return data only if a column of type VARCHAR(200) can be converted to type INT. Basically, I've got varying types of data within the column from URLs, including record IDs, and I need to...
  8. jasonsalas

    Using Flash in web parts

    Thanks! I got it to work as I suspected...using a custom server control and writing the necessary tags referencing the Flash code in the page. Thanks for your help!
  9. jasonsalas

    Using Flash in web parts

    I'm trying to reference a Flash animation in a WebPartZone for a dynamic time widget, but it won't render. The file can be accessed either through SCRIPT or EMBED tags within the page's body. So, it's not contained within a regular ASP.NET control that can be wrapped into a...
  10. jasonsalas

    Creating static methods

    I've also seen people define multiple methods for the same JavaScript class within a JSON array: // constructor function Person() { this.fname = 'foo'; this.lname = 'bar'; } Person.prototype = { method1: function() {}, method2: function() {}, method3: function() {} } ...OOP in...
  11. jasonsalas

    Creating static methods

    Thanks tsuji! A lot of the constructs I've seen with Prototype and script.aculo.us use something like: var Person = { doSomething: function() { alert('Feigning a static method'); } } Person.doSomething(); ...I've tried replicating those examples in my own samples, but they never...
  12. jasonsalas

    Creating static methods

    I'With the AJAX craze of late I'm doing a lot more OOP-style JavaScript. I'd like to know how to create/call Java/C#-style static methods (shared methods for the VB'ers) in JavaScript. I know how to use prototypes to create methods within defined classes, like so: // constructor function...
  13. jasonsalas

    Change 'Content-Type' header for web services

    Is there a way to change the 'Content-Type' header for web services with ASP.NET 1.x? I need to have my API return 'text/javascript' instead of the normal 'text/xml'.
  14. jasonsalas

    Coding bookmark links within custom marquee

    Hi everyone, I'm building a news ticker element contained within a DIV on a page I've got, using JavaScript to manage the left-to-right animation. However, I'd like to include a separate DIV below the main container, which lets people jump ahead to a certain category within te content...
  15. jasonsalas

    Creating <A NAME> links within DIV, not parent page

    Hi everyone, I'm building a news ticker element contained within a DIV on a page I've got, using JavaScript to manage the left-to-right animation. However, I'd like to include a separate DIV below the main container, which lets people jump ahead to a certain category within te content...
  16. jasonsalas

    Using ExecuteXmlReader() for multiple recordsets as XML

    Hi werd420, Yeah, I thought about this, but I'm trying to avoid using a DataSet for purposes of performance and the fact that I'm publishing a public XML feed for others to access. I'm actually progrmamatically applying an XSLT process to the XML and working with the UI this way.
  17. jasonsalas

    Using ExecuteXmlReader() for multiple recordsets as XML

    I'm having an interesting problem using ADO.NET with XML in .NET 1.x. I'm trying to use multiple recordsets in the same SPROC, calling them via SqlCommand.ExecuteXmlReader(). Is there a way to emulate SqlDataReader.NextResult() to move through each recordset? I know that method isn't...
  18. jasonsalas

    Reading multiple recordsets using ExecuteXmlReader()

    This is about XML in .NET 1.x. I'm trying to use multiple recordsets in the same SPROC, calling them via SqlCommand.ExecuteXmlReader(). Is there a way to emulate SqlDataReader.NextResult() to move through each recordset? I know that method isn't available in XmlReader. I figure if this...
  19. jasonsalas

    Big nested IF statement?

    I've got a rather interesting problem...I've got the a single table with EMAIL and MOBILE fields both of type VARCHAR used in an alert registration system. Users can register their e-mail address and/or a mobile number, either at the same time or coming back and registering the other one later...
  20. jasonsalas

    Truncating VARCHAR text pulled down from query?

    What’s the name of the function in SQL Server that lets you truncate the amount of data that’s pulled down in a field? I’m querying a DB table and need to only return at most 15 characters of a large VARCHAR field. Thanks!

Part and Inventory Search

Back
Top