Is there a limit to how much text you can concatenate (other than data
type limits, of course)? For example, if you write:
SELECT 'This is some text from: ' + Convert(char(15), SomeFieldName01)
+ 'some more text' + Convert(char(25), SomeFieldName02) + 'yet more
text.' As BigNote
FROM Table
Is there a limit on how much you can concatenate into that big note
field, meaning is there a limit other than the size of the data type?
Im curious about how much data SQL Server 2000 can handle. Where does SQL Server stand today comparing to Oracle? It would be interesting to hear views and experiences from people here on swynk on SQL Server 2000. How big are the biggest tables, how many rows and speed etc. When is it time to consider using Oracle, if ever, instead of SQL Server 2000?
I have installed Sql Server 2000 Personal Edition (Version: 8.00.2039 SP4 Personal Edition), it runs over Windows XP. Has Sql Server 2000 Personal Edition any user limits? Thanks for reply Ariel
I have a database with 10,000 records and I want to just see record1000 - 1025 is there an easy way to do this with a query. I have foundinfo for my SQL using limits but it does not work with SQL Server 2000.Please help.Thanks in advance.
I have created a UDF in SQL 2000 to implement a String Concatenation in an aggregate query. It works fine, but with the large data set I am using this against, it is very SLOW. (I also tried using a Cursor in a SP but that was even slower!)
I have seen several articles on the web about performing aggregate concatenation in SQL Server 2005 using either the PIVOT function, XML, or the Common Language Runtime (CLR).
Does anyone know how much better these statements perform in SQL 2005 over the method I am using in SQL 2000? If it is significantly higher performing in 2005 this may push us to upgrade our system to use it.
AM I correct that with a quad box running sql server 2000 enterprise edition running on windows 2003 enterprise edition, I can put 32 gig of memory which sql server can use. Need response ASAP, Thanks
Where can I find info on how much data SQL Server can handle? What is too big of a table in terms of records? When (in terms of table/db size)does processing from a web site using querys and joins begin to bog down?
Hi folks. I'm trying to clear up some licensing confusion I"ve come across. First, if I use MIRROR on SS SE I am limited to a single REDO thread and Sycn mode. I see that on the Web. Will the singel REDO thread hurt the ability for the Secondary to keep up? Any one done any tests?
My confusion comes from a document that came across my desk a long time ago that showed that if you use MIRROR on SQL Server SE you are limited to 4 processors for the entire cluster. So if you wanted a balanced failover you would have to have two 2-ways in essence. Is this true? Is it not longer true? I can't seem to find any mention of this....did someone give me bad advice? Help! Thanks.
I wanted to know if there's a limit on how many targets I can manage in Multi Server Administration.In addition, are there any known limits regarding managing SQL instances with different versions (SQL 2005,2008,2008R2 and 2012).
I've been developing a vb app with sql server 2005 and had planned to use express as the client server so the db could be distributed with the app. After importing 21 csv text files, I realized that I have way too much data. My understanding is that sqlexpress can only work with max 4gb database.
The 21 csv files (total 925mb) brought the db size up to 1.5gb and I still have at least 250 more files to go. Obviously, I need a different approach. What are the size limitations of the non express version of sql server 2005? Any suggestions on the best approach for this type of situation?
I have multiple SQL 2008 severs with databases. Also, 1 mirroring server in place.
Since my database count is increasing can i have only 1 mirroring server. Is there any limit of db at mirroring server. I would have approx. 150 databases.
Hi,I am trying to concatenate 2 text fields to update a sql db column byusing:UPDATE MessagesSET private_messages = private_messages || @newmessageBut the stored procedure I am using doesn't accept ||, I've also triedCONCAT() and CAT() but so far this has failed. Is there another way Ican do this?Thanks in advance,Kevin
I have a hierarchical structure for mapping products to categories, categories go 3 levels deep (depth is defined in articlegroups.catlevel, 0 being the main category and traversing down to lower category level 2). Also, a product may be in more than 1 category(!).
product details are stored in `[products]` articlegroups are defined in `[articlegroups]` and the mapping of the products to the articlegroups are defined in `[products_category_mapping]`
Now, I want to retrieve index the full category path for each item, so with the data provided below, I'd expect these 2 rows as a result:
Now I can get the separate fields via a statement like this:
SELECT ga.slug_nl as slug_nl_0 FROM articlegroups ga INNER JOIN products_category_mapping pcm ON pcm.articlegroup_id=ga.id INNER JOIN products gp on gp.id=pcm.artikelid WHERE gp.id=2481446
I have 8 fields - I have requirement to concatenate using '+' operator with semicolon delimiter but issues is in the
Output I get semicolons for the fields that are empty below is my code :
------------- case when [SLII Request Type] ='Job Posting' and [SmartLaborII Request Status] like 'Pending Approval (Level 4%' and [New Extension or Replacement Audit Flag] like 'FLAG%' then 'Reject – New, Extension, Replacement invalid entry' --'it is jp' else '' end as [ES Fully approved data 1], case
I have a need to create a table in a sql server database from C# code. The kicker is that the user must be able to specify the table and field names via the UI. I can do a bit of sanity checking but as long as they enter something reasonable I need to accept it. Normaly I always ADO parameters to sanitise any user parameters but they can't be applied to table and field names, only values. As far as I'm aware that leaves me needing to concatenate strings and that's something I usually avoid like the plague due to risk of SQL injection.
My actual question : Assuming string concatenation is my only way forward, how can I sanitise the values that would go into the table name and fieldname bits of a CREATE TABLE statement to ensure that injection can't occur? I've been pondering it and I think I just need to check for semi-colons. Without a semi-colon I don't think a user could inject an extra statement could they?
Can anyone tell me what would happen if you install more RAM on a server than SQL 2000 can handle?
We have a SQL 2000 Standard edition server that is getting a RAM upgrade and we are wondering if we exceed the 2Gb limit whether the machine will crash or SQL will just get on and use 2Gb leaving the rest for the other processes / OS etc ?
I'm working with a table that has a very large number of rows is there a way to limit the rows that are returned from a query, for example I only want the first 100 rows of data.
In Oracle & Sybase you can set login resource limits to restrict, time of day, number of i-o's, cpu use etc for any login, at the login method. All actions done from a resource limit constrained login inherit the constraints.
Is there any way to implment this with any MS SQL Server version from 200-2005/SP2?
Before anyone answers, please do not suggest set rowcount etc. thanks.
I have designed a datawarehouse and I have tremendous doubt about SQL 7.0 capabilities. I expect to receive more than 20.000.000 into a single table and to be honest I do not know if I will get a reasonable query-response time. My Server is a Toshiba Lince with a 500 Mhz processor and 256 Mb of RAM memory. My hard disks are IBM ones. Can anybody say me something? Thank you in advance.
HiWe received the following in an email from a third-party supplier (whonaturally has a solution for the problem as described). It sounds likegibberish to me, but does anyone have any comments?<quote>SQL in its current incarnation hits a performance brick wall when atable contains more than about 75 million rows. This is not aconfiguration limit as the table could be grown a lot larger but theperformance issue generates problems for ??????; primarily duringsearch and retrieval of archived objects; although if the databaseengine is being heavily hit for retrieval the archiving process canslow down as well.</quote>Chloe CrowderBritish Library
I am migrating a data warehouse from SQL 2000 to 2005. So far, I have been able to convert all DTS's on the old server and most tables and users. I am having problems with some of my views, though. A view which involves over 5 tables, and some sub-views of those tables runs perfectly on SQL 2000, but on 2005 I get a Query Timed out Message. A typical run of this view can return from 200-1000 records. My guess is that it gets stuck somewhere in the subviews it has to run. So I wonder, what are the limitations of SQL 2005 concerning Queries and sub-queries (how many subqueries can a query have without timing out?). I mean, I would expect 2005 to have more processing capacity than SQL 2000 (on which this query runs perfectly). I have run some queries which don't run on 2000 but do run on 2005 and return over 4000 records.
Or is there some setting I haven't adjusted, like the time it takes for a query to time out? How would I adjust this, then?
1. Im insterting records in a recently created EDB databse for WM 5.0, but only 16 records can be witten, does any body knows where is the property to accept more than only 16 records???
2. is there ann RAPI for manage EDB. because my aplication use a lot the RAPI that comes for CEDB, but what about EDB??? does it exist?
I am looking at the failover options for SQL Server 2005 and the mirroring option as documented in Using Database Mirroring with Office SharePoint Server and Windows SharePoint Services seems to cover this however I have a concern about the recommended limit of 10 databases.
Has anyone had any experience with this, i.e. can it support more and also what sizing limits would be expected (I assume as it uses transactions this is not an issue).