Viewing 15 posts - 16 through 30 (of 100 total)
Like David said, it depends on the volume of data. If the total size of all the fields in your query concatenated together is less than ~8kb, then you...
May 2, 2003 at 9:53 am
It's because you have a typo. The line
InSightAmKgODS.micros.date_table.bus_date=InSightAmKgODS.micros.opeartions.bus_date
should be
InSightAmKgODS.micros.date_table.bus_date=InSightAmKgODS.micros.operations.bus_date
(opeartions vs operations)
This is where it is wise to use a table alias instead of repeatly typing long table names, especially...
May 2, 2003 at 9:07 am
You need to use case instead of cast.
Is at2 a character field or a number field? I'm assuming it's a character field since you're comparing it to '6'. ...
May 2, 2003 at 8:53 am
If you use SQL logins, not NT trusted security, then you don't have to be on a domain at all. As long as you have TCP/IP connectivity (with DNS,...
May 2, 2003 at 7:35 am
I also sometimes use Excel or Access to "engineer" a solution when I can't think of an easy, quick way to do it in SQL. But in this case,...
May 1, 2003 at 4:01 pm
Cool! I have been trying to use binary_checksum to do this, with varying results. Never thought about converting to varbinary.
Thanks!
Jay Madren
April 24, 2003 at 6:25 am
IF they will always be one-to-one, then it would be better to combine them all into one table.
If you want to make it work the way it is, you need...
April 22, 2003 at 3:02 pm
You need to insert parent record(s) first, then insert child record(s) using the PK of the parent record. We probably need the schemas of these tables to be sure,...
April 22, 2003 at 2:23 pm
I think you'll find the following is faster than the self join method:
SELECT FirstName, LastName, Company, <PK> FROM tblname
WHERE FirstName In (SELECT FirstName FROM tblname...
April 22, 2003 at 2:09 pm
There's a great freeware utility in the Products section, called "Bill Wunder's DDL Archive Utility". It is a standalone program that basically performs the same functions that EM does...
April 17, 2003 at 1:17 pm
Do you have to do it from a SQL query? If not, the easiest way is use the script generation facility in Enterprise Manager. And it's easy to...
April 16, 2003 at 3:07 pm
In Enterprise Manager, select the server, then from the Tools menu choose Replication -> Generate SQL Script. Do this on both the publisher and the subscriber.
Jay Madren
April 16, 2003 at 8:39 am
Your friendly developer forgot to initialize @retVal in the function. When delcared, its value is NULL, and concatenating anything with NULL always yields NULL. So add the following...
April 16, 2003 at 8:28 am
quote:
when you install the server by default youget the replication monitor shown in the EM
even though you have not create any replication.
April 15, 2003 at 8:39 am
Viewing 15 posts - 16 through 30 (of 100 total)