Yes this can be done. 1. Create the new Login for domainsrvc and then create a database user from the Login in database A. USE database A GO CREATE USER [domainsrvc] FROM LOGIN [domainsrvc] 2. Grant authority to the User domainsrvc in database A to enable them to delete data from the table. 3. Create [...]
get ur answer through jasper server.com,u can clear it ESH says: If you use jtds as your db driver, yes. It can be used in iReport or on Jasper server. JDBC driver class: net.sourceforge.jtds.jdbc.Driver JDBC URL: jdbc:jtds:sqlserver://serverName/dbName;instance=
Can you use SSMS on Server2 to connect to the SQL Instance on Server1?
There’s lots of information out there about querying AD from SQL Server. Just Google for ADSI Linked Server and you should find a ton of it.
Columns that are part of the primary key, or that have been declared with a NOT NULL constraint will not accept nulls. In order to be able to insert nulls you will have the alter the table definition. Let us know if you need further help.
DB/2 on what platform? Locking occurs because of commitment level setting commitment level depends on the environment you are issuing the Select from. Summary: Need to know Platform? Need to know Programming tool that select is issued from? Phil Hi, I’m using DB2 in AIX environment. That is what I can give u the details [...]
It’s actually a very easy change to make. It will require that you restart the SQL Services on all your services though. Use the Services Admin Tool (or control panel applet on Windows 2000) to change the password for the actual services on all the servers. Do NOT restart the services yet. Once all the [...]
There’s no way to pass the password in an already encrypted form. What you can do, it store the connection string in an encrypted form in the config file, then when the app loads, load the encrypted connection string, and decrypted it in memory and use the then decrypted connection string to connect. This way [...]
Starting with SQL Server 2005, the sa password (which is the password you are trying to set) must meet your domain’s password complexity requirements. So what ever complexity requirements your domain has set for your Windows password you will also need to use for the sa password.
I guess this is on DB2, and I’m not sure how the ‘FETCH FIRST x ROWS’ works in conjunction with an ORDER BY clause, but <b>if it applies the order first, and then fetches the x rows</b>, then this should work: <pre>Select phone# from pltlcd where phone# < 985143525 order by phone# desc fetch first [...]
The enterprise edition can only be installed on a server operating system. If you want to install Sql Server 2000 on XP, you will need to install the Personal or Developer editions, or the Desktop Engine (MSDE).
Using DISTINCT didn’t work, because it filters out records in which all fields are duplicated. You need to use a GROUP BY statement. I don’t see a column “Bprice” in your query, so I will assume that it is “biddings.price” <pre>SELECT customers.first_name, customers.last_name, customers.email, customers.cellPhone, customers.phone, items.title, items.price, auction_items.auction_item_nr, auction_items.reserv_price, MAX (biddings.price) FROM customers, biddings, [...]
If your database is in full recovery mode and you have Lumigent’s Log Explorer or Quest Software’s LiteSpeed for SQL Server then you can look through the Transaction Log and see who did what. If not, if you have SQL Server 2008 you can enable auditing to track this information going forward. If you have [...]
That would be i-series talk — missed the keywords Do your select on the physical file or the view. The view’s select should be on the physical file. Don’t do your select on a logical. Include the where clause to define which records you want. Include the order by clause to indicate the delivery order [...]
You shouldn’t need to. The OS on both the physical and virtual servers should need the same amount of overhead. For the VM the host OS will take the memory overhead that it needs from the host’s memory not the guests. If you were going to give the VM memory to cover the overhead, most [...]
It could be any number of things. What events were you capturing?
This can’t be done in SQL 2000 as long as you are using the DATETIME data type. Microsoft didn’t begin offering the DATE and the TIME data types until SQL Server 2008 was released. You’ll need to store the entire datetime value and then only display the part that you need. You might consider upgrading [...]
You’re right views aren’t the same as joins. A view contains the rules for selecting records — rules no keys (indexes) SQL Indexes can be created on the physical files. Indexes are keys – no rules (some rules in v6r1). If the indexes needed don’t exist SQL will create temp indexes. SQL will analyze the [...]
I suppose that you use ORDER BY in a subquery. This is not admitted without use of TOP clause (SQL Server). If you need all rows from subquery, you can use this trick <pre>SELECT TOP 100 PERCENT … ORDER BY … </pre>
Any book on SQL — Access supports 85% of the standard. This isn’t the best way to go. I think it will be very slow – SQL is running on you PC and every record from the 400 must be sent even if it’s eventually excluded by your Query. You can run SQL from your [...]





