Viewing 15 posts - 31 through 45 (of 347 total)
Why not just add them to the db_datareader role in the database?
March 19, 2014 at 3:33 pm
ISNUMERIC should get you most of the way there, but it will return 1 if it can be converted to any of these data types:
int
numeric
bigint
money...
March 19, 2014 at 2:26 pm
Create a table that has the same column definitions as your source and add 2 additional columns (ErrorCode int, ErrorColumn int). Add a destination connection in your package. grab the...
March 18, 2014 at 3:07 pm
Have a look at sys.key_constraints, sys.foreign_keys, and sys.foreign_key_column
March 18, 2014 at 9:45 am
Not completely sure what your end results need to be, but to strictly get a list of EMPIds that are listed more than once without the same DOB, this would...
March 17, 2014 at 1:47 pm
no, but you can do this:
alter schema DB_SQL transfer dbo.Tablename
March 7, 2014 at 10:41 am
create table DB_SQL.Table_new(col definitions)
or you could create the dbo table and do this:
alter schema DB_SQL transfer dbo.Table_new
March 7, 2014 at 10:38 am
Use the MAXERRORS option and set it to a really high number.
January 30, 2014 at 2:06 pm
You need to go back to your original window to see the output. All output is sent to the original window (it says debugging on the tab).
January 30, 2014 at 1:59 pm
Edit the job step and choose operating system (cmdExec) instead of SQL Server Integration Services Package. Then set your command line to something like this:
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTExec.exe /F "c:\packagepath\packagename.dtsx"
Your...
February 26, 2013 at 3:58 pm
Did the backup you restored come from a different server? If so, you probably have orphaned users. Try going through your users and running sp_change_users_login 'update_one','username','loginname'
August 31, 2010 at 3:48 pm
The default trace keeps 5 files, and they roll over at about 20MB. This means the time frame that is available varies according to how many transactions you have going...
June 17, 2010 at 9:53 am
run dbcc opentran(databasename) to see what the oldest running transaction is. You can then use sp_who2 and dbcc inputbuffer(spid) to see what the transaction is doing and who is running...
June 17, 2010 at 9:47 am
Viewing 15 posts - 31 through 45 (of 347 total)