Viewing 15 posts - 751 through 765 (of 1,271 total)
This works quite well:
SELECT YourNVarCharColumn
FROM YourTable
Where binary_checksum(YourNVarCharColumn) <> binary_checksum(Convert(varchar(n), YourNVarCharColumn))
This will give you the queries to run:
Select
'Select ''' + Table_Name...
February 9, 2007 at 12:28 pm
Here's a function I wrote to strip HTML/XML/ASP/etc. tags out of data. It explains how to use it in your queries and exports: http://www.databasejournal.com/scripts/article.php/3494196
February 9, 2007 at 12:12 pm
My first thought is: are you sure the app is connected to the SQL 2005 machine? Perhaps it is using the old connection info or cached connection info and is...
February 9, 2007 at 11:56 am
The import/export wizard doesn't support DBase files, but Integration Services does. You can export to dbase files using the OLEDB provider for Jet 4.0 in SSIS.
February 9, 2007 at 11:46 am
Be aware that if you have Object Explorer open and focused on the database in question, that is a separate connection to the database. If you can find no other...
February 9, 2007 at 11:38 am
I have no idea what you are trying to say. There is no possible way that you looked at my split function that I wrote and is not publicly distributed.
Yes,...
February 9, 2007 at 9:18 am
As long as it is transactionally replicated, you will not be able to enter data at the subscriber. If, however, you want to have the ability to switch your application...
February 9, 2007 at 9:09 am
Then you shouldn't be using transactional replication. You should be using merge replication.
February 9, 2007 at 2:21 am
Cursor?
Do you want your mouth washed out with soap?
All you need is:
Select A.ID As
February 9, 2007 at 2:18 am
You don't need to use the ServerName if they are on the same server.
Be aware that using Select Into has some pitfalls. For example, if a column has no values...
February 9, 2007 at 1:48 am
Why would you need default values for the subscriber? When a record is replicated, the entire row will be replicated. Defaults will not come into play.
February 9, 2007 at 1:35 am
Use DBCC InputBuffer(@@SPID) to find out the string that called the procedure and then parse out the values. For example:
Create
Procedure dbo.
February 9, 2007 at 1:32 am
You should use the Information_Schema views instead of the system tables whenever you can. The SQL 2000 system tables have been deprecated in SQL 2005 and will not be...
February 8, 2007 at 4:39 pm
I use this script I wrote:
Declare
@SpaceUsed Table ([name] sysname,
rows
int,
reserved...
February 8, 2007 at 4:32 pm
If all else fails, open Task Manager, find the process for DTExec.exe, and kill the process. Take note whether the process is using a high amount of CPU or memory...
February 8, 2007 at 4:24 pm
Viewing 15 posts - 751 through 765 (of 1,271 total)