| Thread | Last Post | Replies |
|
| select groups of numbers where num between 1 and 10, between 11 a | 10 Jul 2008 16:25 GMT | 9 |
I have a list of 17,000 numbers starting with min(value) = 10,000 and max(value) = 60,000. What I need to do is to group these numbers like group1 contains values between 10,000 and 11,000 group2 contains values between 11,0001 and 12,000
|
| Query performance help | 10 Jul 2008 16:19 GMT | 7 |
I am trying to do some radius search within a zip code and just to get the counts it's taking about a minute. Is there any way I can improve the performance on below query. I already have an index on zipcode field and also on the field that is used for joins
|
| Top X Results - get row x | 10 Jul 2008 12:16 GMT | 4 |
I have a problem qith a stored procedure. I try to get the top 10 results of a table. Select Top(10) * from [Results] order by Zeitstempel DESC Now i want to create a procedure which get the Position X of this result.
|
| Script to order tables in there foreign key reference | 10 Jul 2008 11:27 GMT | 3 |
I want to retirve list of all tables from a database in order to there foreign key reference from another tables. ie. if A is the parent of B and C. And B is the parent of D, E, F. then order of the tables are :
|
| Inserting Default values | 10 Jul 2008 09:37 GMT | 4 |
I have a situation where currently: INSERT INTO [TBL A] SELECT col1,
|
| XML Bulk Load and illegal (foreign language) characters | 10 Jul 2008 09:09 GMT | 8 |
I'm wondering what easiest method is to deal with foreign (Spanish) characters in xml data file when loading into database. My vbscript load fails with element values like "Dímelo" - because of the accented i. The files are labeled as encoding="utf-8". Do I need to parse ...
|
| Linking Table to Output of TVF is Very Slow | 10 Jul 2008 08:16 GMT | 26 |
I have a query on a main table that takes a small number of seconds to run. I want to link it to a TVF, but when I do the performance is appalling. There are actually two qualifiers on the join, like this SELECT *
|
| Linked server passing parameters | 10 Jul 2008 01:20 GMT | 5 |
I found one example of passing parameters and got the following results. Given the below example stored procedure: alter PROCEDURE [dbo].[InsertAS400]
|
| Auto Recovery function In Enterpise Manager | 10 Jul 2008 01:10 GMT | 5 |
How can this functionality be disabled. I am running queries against a remote database on a VPN and the message 'Saving Auto Recovery Information' pos up every 5 minutes and locks my SQL Server client session for up to 2 munites.
|
| Convert Integer to char and result as a <blank> | 10 Jul 2008 00:33 GMT | 3 |
I am trying in vain to CAST or CONVERT an Integer column but I want to pass a <blank>, not the contents. So I have this... CASE WHEN ISNUMERIC(IntColumnName) = 1
|
| is N before text in SQL script really necessary? | 10 Jul 2008 00:31 GMT | 4 |
When I look at books on SQL, they usually put an 'N' before any text in a SQL script, but I find the script works perfectly well without it, e.g. SELECT N'test1 ' + N'test2 ' versus
|
| Invitation to critique a unique stored procedure | 10 Jul 2008 00:13 GMT | 9 |
This is written against a legecy database. involves hierarchy Inputs come from a web page Output is a table for a report
|
| How big will my backup be? | 09 Jul 2008 23:55 GMT | 2 |
Is there any way to approximately work out how big your backup will be, before you run BACKUP DATABASE? Obviously you can get database_size and unallocated_space from sp_spaceused, but is there then a way to workout backup size?
|
| Select first three words in field | 09 Jul 2008 23:46 GMT | 16 |
I need to select the first three words in a varchar field and then the remaining words (4 to whatever) separately. For my purposes I count a word as finishing on a space not a full stop or any other character. e.g. if the string is
|
| How look at content of stored proc? | 09 Jul 2008 22:03 GMT | 2 |
I've just started working with SQL Server. How do I look at the text of a stored procedure? I don't see any obvious way to do it. Thanks.
|