Viewing 15 posts - 256 through 270 (of 323 total)
We have an archaic, legacy app that is retrieving every record from 1 SQL table, but is retrieving the data one record at a time. ... i.e. SELECT *...
July 20, 2004 at 1:05 am
OR, you can restore the database to a new name (eg: if your database was called SYDSALES, restore a read-only copy as SYDSALES_RESTORE). Then all you've got to do is...
July 20, 2004 at 12:48 am
If the databases are on the same server, I would just use a insert like Allen Cui mentioned above.
If the databases are on different servers, but in the same...
July 20, 2004 at 12:46 am
Using Query Analyzer:
select name,dbid from master.dbo.sysdatabases
will list the name and database id (dbid) for all the databases on your server. Then using the dbid you can drop the database from the...
July 20, 2004 at 12:40 am
AJ Ahrens,
I'm not saying anyone's suggestion is wrong, infact some of them are quite inventive, just that they are not the simplest answers.
T-SQL is a simple language, and the...
July 9, 2004 at 1:06 am
Wow! What is it with you guys and wanting to do it the hard way?!
create proc spListEmployees (@Active smallint = 0) as Declare @NoOfEmployee integer if @Active = 1 select @NoOfEmployee...
July 8, 2004 at 12:12 am
Jacob
If you alread have a license, the most important thing for SQL Server is RAM. Buy as much as you can (up to 2GB), but you should get at least 1GB....
July 7, 2004 at 6:40 pm
Jose
There are major differences between Oracle and SQL Server. I don't know if it's a maturity thing as such, just the way Microsoft does things. Oracle seems (to me, personal...
July 7, 2004 at 1:13 am
Yikes! Data like that can be pre-processed with PERL really easily. Then use BULK IMPORT / BCP to get it into sql server.
Personally though, I'd ask for a better separated...
July 7, 2004 at 12:57 am
Hey Jose
SQL Server does not have an equivelent to TRANSLATE.. my only peeve with SQL Server. Oracle's Translate is also super useful for datetime to string conversion. DO YOU HEAR...
July 6, 2004 at 12:41 am
Idealy your application should be using Integrated Security; SQL Server should be using Windows Authentication; Permissions should be granted to a Windows Group; and then you'd be able to track...
July 6, 2004 at 12:37 am
You might also want to rethink on why you need to partition the table.
Oracle supports partitioning, so you can chuck the different partitions into different physical files, to distribute the...
July 6, 2004 at 12:31 am
CSV is a type of "text" file, NULL is a "binary" value.
If you need to keep the NULLs, export/import with a binary data destination, like an Access Database.
July 6, 2004 at 12:24 am
If each of the tables data is in separate files, your task becomes a 1000 times easier.
With a flat file, you can import using the BULK INSERT command or BCP....
July 6, 2004 at 12:12 am
First thing I would check would be that your servers, and your local client have all been service packed to the same version... or better still, download and apply the...
July 5, 2004 at 2:08 am
Viewing 15 posts - 256 through 270 (of 323 total)