| Thread | Last Post | Replies |
|
| comparing data across different servers | 13 Oct 2005 07:18 GMT | 3 |
I have 2 tables with identical schema on 2 different servers; with one table containing the most up-to-date data and another containing one day behind data. I want to compare these tables and insert the changes into a table (also identical schema) on a third server. How can I ...
|
| Problem with SUM | 13 Oct 2005 02:36 GMT | 2 |
SQL newbie alert... I have a table with the fields Location, MachineName ,Hours and Date. (The actual database is more complex but it will do for the purposes of this post)
|
| SQL Convert function!! | 13 Oct 2005 01:29 GMT | 4 |
I’m trying to cast and integer type to a varchar and then concatenate two varchar and ’01’ and convert it into datetime with the following code: CONVERT(datetime, { fn CONCAT({ fn CONCAT(CAST(PeriodYear AS varchar),
|
| Join statement | 12 Oct 2005 23:00 GMT | 5 |
Hi......... Its been awhile since I've touched SQL statements, so I need some help with writing a JOIN statement to query 3 tables. The dB has 3 tables with values
|
| Indexed views | 12 Oct 2005 22:58 GMT | 10 |
...just what are they and how do they work? I've tried looking at SQL (2K) help but can't find anything that really explains them. For background, I'm coming from the angle of writing stuff in VB.Net, using SQL as my data store. I understand the use of indexes in tables but over
|
| Index corruption on table without key: what could be the reasons ? | 12 Oct 2005 22:41 GMT | 14 |
Dear group, we are running a SQL-Server Database which is about 30 GB large. The purpose of this database is to contain periodic data from automatic devices which insert values into some tables.
|
| Sql Server backup vs HP Data Protector (HPDP) -- Do *not* use SQL Server? | 12 Oct 2005 22:17 GMT | 4 |
Our HP representatives are telling us that backing/restoring our MS SQL Servers with "HP Data Protector (HPDP)" is better and safer than using MS Sql's backup/restore process. I have strong hesitations, because MS Sql's processes gives us a great
|
| Multiple level nested Corelated query | 12 Oct 2005 22:02 GMT | 5 |
My multiple level nested corelated query is not fetching correct result. It work fine on small set of data, but fails on larger set of data. Any clue? Explaining data storing and discussing design would be tough for me
|
| Detail of all tables in database | 12 Oct 2005 19:28 GMT | 5 |
Hi EveryExpert! We are using SQL Server 2000. I want to get information about all the tables in a given database ('ABD'). Following information need for each table.
|
| One-One Relationship | 12 Oct 2005 18:24 GMT | 13 |
Do you guys know what's wrong with a one-to-one relationship? The reason I want to make it like this is that at the very end of the chain, the set of keys is huge. I want to limit the number of columns to be the key. i.e. the [company] table has 1 column as the key. The ...
|
| how often should indexes be rebuilt? | 12 Oct 2005 17:22 GMT | 3 |
In oracle you rarely need to rebuild indexes no matter whether you do massive inserts or deletes. Does the same hold true in sql server?
|
| Errors with SP4 upgrade... Please Help | 12 Oct 2005 17:10 GMT | 1 |
I am having problems accessing DTS after install SP4 and was wondering if someone could offer some advice. I installed SP4 and got the following error after it competed. Unable to write to response file 'U:\WINDOWS\setup.iss' during
|
| TOP Question | 12 Oct 2005 14:53 GMT | 2 |
I have a table that contains all the login dates and computer names. I want to get the last login date of each computer. Here is my statement, but it is giving me an error in the FROM statement. SELECT ComputerName, TimeWritten
|
| Problem with top 1 query | 12 Oct 2005 14:39 GMT | 3 |
This works except when there are duplicate paid values. If 2 lines have the same paid value, then top 1 becomes top 2. Is there any way a single top value when there are duplicates on the value you are sorting by? I don't care which one I grab as long as I get one of the ones ...
|
| Any way to optimise this query? | 12 Oct 2005 14:12 GMT | 6 |
Is there any way I can run this query faster? Should I take out the ORDER BY clause? This is supposed to return 17,000 rows and takes around 30 minutes or so. Is there no way at all to get this result faster? select r.AttorneyName, r.sitename, r.applicationid, r.clientsurname, r.
|