Viewing 15 posts - 9,646 through 9,660 (of 18,923 total)
Add a column to A
Copy B data to A's new Column
Copy A data to B's column
Copy new A column to old A column
Drop A's new column
July 21, 2007 at 9:06 am
That's another command : sp_addlinkedsrvlogin
I was assuming that you were using windows authentication!
NEVER ASSUME ANYTHING!
There I'll remember this time
.
July 21, 2007 at 9:03 am
Run that in any command or connection object from asp. This may be your biggest concern of them all :
Execute permissions default to members of the sysadmin and setupadmin...
July 21, 2007 at 8:09 am
This adds a linked server on the sql server. This then allows you to do something like this :
Select * From LinkedSvr.DatabaseName.dbo.TableName inner join...
July 21, 2007 at 6:36 am
Good point, but the fact is that if the other guy is not around anymore, it'll be hard to get this answser from him.
July 21, 2007 at 6:09 am
I just thaught that he wanted to take 2 columns into 2 rows... must have misread that problem.
July 21, 2007 at 6:08 am
Select 'Multiply' As FormulaName, mutiply as Output from table
union all
Select 'Add' As FormulaName, Add as Output from Table
July 21, 2007 at 5:20 am
Check out sp_addlinkedserver in the books online.
July 21, 2007 at 5:17 am
Maybe it was created like that to make sure that all newly created Dbs had at least 4 gigs of log files. That would make sens on a lot of...
July 21, 2007 at 5:14 am
I'm sorry but adding a column without altering anything in the system is just impossible (unless you use a single table for the whole database or othere pointless technics). I'd...
July 20, 2007 at 11:27 am
How about you post the proposed solutions here so we can point you in the right direction?
July 20, 2007 at 10:32 am
Unless the index is unique (UQ) or a primary key (PK). There's no way to get this info out of sql server (2000).
July 20, 2007 at 4:12 am
Please post sample data, required results from that data, the solution you currently have and what is wrong with it. That'll get you an answer much faster than you can...
July 19, 2007 at 10:56 am
As far as I know this is pretty hard to do.
The only thing I can think of is to create a new table with the correct properties set up. Then...
July 19, 2007 at 10:28 am
That means that you are restoring the files to a destination that already exists. That would be a huge a warning to me that you were about to destroy a production...
July 19, 2007 at 9:05 am
Viewing 15 posts - 9,646 through 9,660 (of 18,923 total)