Viewing 15 posts - 1 through 15 (of 18 total)
-- display orphaned users
EXEC sp_change_users_login 'Report'
-- drop a user
sp_droplogin webuser1
--- fix a user
EXEC sp_change_users_login 'Auto_Fix', 'webuser1'
August 15, 2006 at 5:24 am
if i re-read what you asked for right, here is one possible solution:
SELECT a.Name, b.ActualName [Name_Actual], b.NameID [Name_ID],
a.name2, c.ActualName [Name2_Actual], c.NameID [Name2_ID]
FROM TableA a
LEFT JOIN...
August 15, 2006 at 5:22 am
are nameid and actualname ints too?
and anything is possible... but need more info to give you a solution...
is their a common column, like do is theredo name and nameid match?...
August 15, 2006 at 5:16 am
you could do it within the dts package using t-sql and doing a bulk load
you can get a dir listing and load the appropriate file right in
August 15, 2006 at 5:11 am
i wondered the same thing, whats the application for this...
what happens in sql2k5 when you add 4 rows and deleted the second one. are the last 2 reordered so i...
August 7, 2006 at 3:25 pm
i agree, temp tables are not the enemy (cursors are!)
referencing the temp table should be the simplest option here. i have dealt with some pretty hairy SP's and always been...
August 4, 2006 at 6:41 am
it would be more secure within the vpn
using a remote server through a website is fine to, just creates an extra layer to manage and keep secure.
We use a website...
August 3, 2006 at 2:53 pm
but that only works where you have an identity column, or some type of numeric id...
you could addapt something like this for other cases:
SELECT *
FROM
Employee...
August 3, 2006 at 5:43 am
try this...
select * from employee where employeeid % 2 = 0
select * from employee where employeeid % 2 0
August 3, 2006 at 5:24 am
do they have a vpn? do they have any way to connect to their network when their off site?
if so, once their connected it should work fine...
you may need to...
August 3, 2006 at 5:17 am
i have vb.net 2003 that reads files in, checks for proper syntax, drops old object, and loads new object.
our app reads a directory tree, displays them in a grid, and...
August 1, 2006 at 7:39 am
what is the data type of the column?
a timestamp column could be used
August 1, 2006 at 7:14 am
what exactly are you trying to do? read in a template to generate a SP to then load into the SQL Server?
we read files and load them onto our server...
August 1, 2006 at 7:09 am
why not use the bulk insert within tsql to perform this, then it wouldnt matter if there were 4 or 5 columns as long as the table you read into...
August 1, 2006 at 7:01 am
you can load data this way and then test to figure out the format and then load it into the final table
or, name the files to include some kind of...
July 31, 2006 at 7:08 am
Viewing 15 posts - 1 through 15 (of 18 total)