SQL tables are generally journalled. Use DSPFD to make certain this is the case and the journal names. Recovery is no different than other AS/400 files. Commitment control level is set in SQL At the end of process an SQL commit or Rollback should be sent. Phil
added my photo. dave
You wll want to create SQL indexes on each file based on the where field(s) I believe that you can run these interactively in Navigator and capture the necessary indexes. With the correct indexes your SQL commands will find the record to update very much like a chain would. Phil
The only way to shrink a database is to use the DBCC SHRINKDB or DBCC SHRINKFILE statements. However databases should not be shrunk on a regular basis as it causes a large amount of index fragmentation and will hurt your database performance.
Using NOLOCK wouldn’t cause you to miss data because it’s a NTEXT field. It could cause you to get bad data back because of the dirty read. What’s the transaction isolation level of your transactions. With the default locking that SQL server does you shouldn’t get a deadlock when those two queries are run at [...]
Hello I’m getting the same error that you in both Java procedures and SQL Triggers that try to catch data from the same record and field. Have you found some solution to this error? PS: i5 / 6.1
It should be fine. Add the second vCPU. You’ll probably need to reboot the guest a few times to get Windows working with both vCPUs. Once Windows is working with both of them correctly SQL will work with them both as well. Nothing will need to be done to make SQL use both CPUs.
You can use SQL Server Management server and/or a linked server to connect. However the firewall on the remote side will need to open the firewall and allow network access to the SQL Server.
I have actually found the answer to my own question. In Sharepoint I have a list where one of the values is a multi-value lookup field. I wanted to be able to create a query to return those values, and didn’t know how to. Here is the answer: select a.tp_id, –this is the company id [...]
In Oracle, I would use the bulk collect capability, as follows: 1. Create a copy table of the source (empty with no data), as in: create table MyClone as select * from OldTable where 0=1; 2. Alter the table to change the data type of the column from Number(9) to Varchar2(3) alter table MyClone modify [...]
Hello You can try using the transformation between SQL server to MS Excel. If this doesnt work than use ActiveX script to generate the MS Excel file which will able to handle dynamic column names. This will involve writing macro which will select the required columns from table in SQL and put the same in [...]
Use the WRKRDBDIRE (Work with Relational Database Directory Entries) command to define the data source. /EXEC SQL + CONNECT TO :remotedb USER :userprf USING :passwrd + SET CONNECTION remotedb *** your select statements should work now /END-EX
Have you checked out the tools that <a href=”http://www.klocwork.com/”>Klocwork </a>offers? They may have a solution.
You can use SQL Express, however if your database grows beyond 2 Gigs you’ll need to upgrade to SQL Workgroup Edition.
Let me clarify a bit on what I’ve said above. I realize a maintance plan can be created and I have tried this however upon execution of that plan I am getting the following error: TITLE: Execute Maintenance Plan —————————— Execution failed. See the maintenance plan and SQL Server Agent job history logs for details. [...]
What’s the error message that you are getting? There’s no limit in SQL to the number of temp tables you can use in a single batch. However I don’t see a temp table (or table variable) in your select statement.
There’s a cleanup task which you can add to the maintenance plan which will delete the older backups from the folder.
What driver are you using for the DSN? If memory serves you can’t create a DSN using the SQL 2005 driver and give it the failover server’s information. The SQL 2008 driver includes this ability. Try downloading the SQL 2008 driver from the Microsoft site and installing that, and changing the DSN to use this [...]
Google for sp_help_revlogin. This script from Microsoft will export the users and passwords and allow you to create them on the new server. You can then attach the database from the SQL 2000 server to the new server and the logins will all match the users in the databases.
No, there shouldn’t be any problems. Just don’t forget to get a new CPU license if needed.





