Viewing 15 posts - 12,481 through 12,495 (of 13,469 total)
Is unicode characters the same as high ascii characters?
this is the only way i could figure out how to do it so far, was with a function that loops thru...
September 4, 2007 at 2:42 pm
with a copy/paste of your code, i get this error:
Server: Msg 1540, Level 16, State 1, Line 1
Cannot sort a row of size 8101, which is greater than the allowable...
September 4, 2007 at 2:23 pm
creating the tables and migrating the data?
if exists(select name from db1.dbo.sysobjects where name='mastertable1') drop table db1.dbo.mastertable1
select * into db1.dbo.mastertable1 from db2.dbo.mastertable1
just moving new data?
insert into db1.dbo.mastertable1
select * from db2.dbo.mastertable1
left...
August 31, 2007 at 10:34 am
if it's just one or two tables, then you'd simply use something like
SELECT *
INTO MYTABLENAME
FROM OTHERDATABASE.DBO.MYTABLENAME
[WHERE <condition to exclude unwanted data>].
if...
August 31, 2007 at 9:37 am
I'm confused why you can't just use the object that does the encryption in both ASP and .NET; I know in .NET you can invoke vb6 objects, and vb6 can...
August 29, 2007 at 9:35 pm
it's tough, because the relationships in a schema diagram are based on foreign keys...since you can't have a foreign key that references outside of the database you are looking at,...
August 29, 2007 at 11:52 am
how about something as simple as a customer to product relationship?
many customers might be related to one or more products, and the products might be related to more than one...
August 29, 2007 at 11:33 am
I typically use this, which puts them in the desired order, unless you have some circular dependancies where table A references table B, and eventually a chain of them point...
August 29, 2007 at 11:28 am
without specifics, we can't diagnose the problem.
since this is a general question for now, here's a general answer and things to look for:
is your application doing SELECT * FROM SOMETABLE,...
August 27, 2007 at 5:27 am
here's an example to get teh text/definition of the triggers:
set nocount on
SELECT [text] + CHAR(13) FROM syscomments WHERE id IN(SELECT id FROM sysobjects WHERE xtype='TR')
typical results:
CREATE TRIGGER updatedby...
August 24, 2007 at 2:39 pm
you'll need to update each table spearately, but most likely in a transaction, so it is update both or nothing;
SET XACT_ABORT ON --any error rollsback the whole thing...IF a transaction...
August 23, 2007 at 12:02 pm
Pretty sure this has to do with having a database without an owner - this can happen if you recently restored/attached database, or did you maybe drop a user?
Have...
August 22, 2007 at 6:43 am
yeah having to roll thru the tables later after the IP's been captured woudl be a pain in the audit.
Since you are going to use HOST_NAME instead, you obviously are already...
August 21, 2007 at 2:03 pm
do you mean using DNS/nslookup to convert an ipaddress like 66.94.234.13 to http://www.yahoo.com?
August 21, 2007 at 11:09 am
i saved this snippet for SQl 2000, but it works in 2005;
this creates both the DROP and ADD statements for a db's foreign keys
looking at it, i don't know why...
August 21, 2007 at 9:15 am
Viewing 15 posts - 12,481 through 12,495 (of 13,469 total)