Exporting from SSRS is not great, and although you are staying in the microsoft range of products, complications do occur. If you have extra resources you could always splash out and buy an add-on for SSRS that performs exports better such as OfficeWriter from www.softartisans.com which provides much more control over Excel output. From my [...]
Hi, How do you call your script? Can you maybe post a sample of the code? Have you tried running the SQL script interactively? Regards, Martin Gilbert.
You can install either the 32bit or 64bit of the developers edition. If you are just installing the client tools don’t bother install the 64bit edition as the client tools are only 32bit.
To migrated a database from one version to another simply backup the database, and restore it to the new server. Then point the client machines to the new machine.
You can adjust the amount of logging by changing the OutputVerboseLevel setting in the SQL Agent job which runs the merge agent. <a href=”http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1337202_mem1,00.html”>This article</a> gives some information about it.
This code will show you the min value, max value, config value and running value. The running value is the value which is currently in use. A value of 0 means that SQL Server will dynamically select the number of worker threads to use. This is the default setting. <pre>exec sp_configure ‘show adv’, 1 reconfigure [...]
Yes you will need to be logged into the server with a domain account to be able to access the domain resources. Accounts which are local to the server to not have access to the domain resources and there for can not validate the domain account.
Put them in the same physical network. All you need to do is connect them to the same physical switch. Just in case make sure there are no VLANs. You can access the other server by going to Start -> Run. Type: \IP_Address_of_serverc$ If it prompts for login credentials, use the administrator account on the [...]
This <a href=”http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm”>link</a> will give you a good comparison.
I’m not sure if that is supported. The AS400 does have SQL based query capabilities using DB2 or MySQL even. //////////////////// Where were you thinking of running it – on the IFS under LINUX or WINDOWS? There is no way it runs in OS/400. phil
The cursor name is usually VARCHAR(128); however, if the cursor is defined WITH RETURN, the name is limited to VARCHAR(30).
You can use SQLCMD <b>-b</b> to return a nonzero exit code when the SQL batch fails. You can then check the ERRORLEVEL in the batch to determine if the outcome was succesfull
Alternatively, if you want to separate date and time using T-SQL, you can use CONVERT function as follows : Syntax CONVERT ( data_type [ ( length ) ] , expression [ , style ] ) Example : CONVERT (VARCHAR(10), dbo.EMPLOYEES.BIRTH_DATE, 103) (Style Code 103 returns date in dd/mm/yyyy format You can see all Style Codes [...]
Have a look at the following page. Hopefully you will find the answer there. I would recommend to read the “<b>Beware – lots of info on this page outdated!</b>” section first. <a href=”http://www.hibernate.org/56.html”>Using Clobs/Blobs with Oracle and Hibernate</a>
best of luck to all.
If you are on 2005+, <b><i>one option</i></b> could be to use the PIVOT operator. The following query should provide the desired output <b><i>in this particular case, assuming that there is a fixed number of areas, and only one row exists for each year-quarter-area combination</i></b> (because it needs an aggregation function, and a SUM function is [...]
Yes, the upgrade will require that you resend the snap. Setup the replication using a local path for the snapshot (C:something). Make sure that its a folder that each subscriber has available with enough space for the snap. After the snap is created, zip it up (its just text at this point and should compress [...]
To access another server using T/SQL you would need to have linked servers setup to each of your SQL Servers. Once you have the linked servers setup to access all the other servers run sp_helpdb remotely on each server. This will return the database name, size and other information about each database on the instance. [...]
Change the isolation level of your session from READ COMMITTED to READ UNCOMMITTED. In Management Studio click on Tools > Options. Navigate to Query Execution > SQL Server > Advanced. Change the isolation level option there to set it as the default. There is no way to change this setting server wide.
[kccrosser] I have to disagree with mrdenny – using SQL database table fields to store image blobs works quite well, and there are a lot of positive reasons to use this technique – not the least of which is the consistency of the database transactions and backups. As far as how to manipulate the data [...]





