Viewing 15 posts - 5,131 through 5,145 (of 6,036 total)
WHAT???
You insert MaxID into ExternalId, and ExternalId suppose to reference some ID from some external table.
If you just increment MaxId by 1 everytime you're doing insert what those new ExternalID's...
August 24, 2006 at 9:03 pm
DECLARE C_TESTE INSENSITIVE CURSOR
FOR
SELECT TESTE
FROM TESTE
WHERE TESTE NOT LIKE '%[^0-9]%]
Not numeric values just filtered out from selected set. No need to check for errors.
August 23, 2006 at 4:59 pm
Comment ORDER BY and you'll get bunch of other errors.
Fix them and restore ORDER BY. It will work OK.
August 22, 2006 at 6:34 pm
Which visit "DISTINCT per ACCT" you want to see?
First? Last? First for today? Last before today?
If you include Visit into returned set and you want to see only one per...
August 22, 2006 at 6:30 pm
Using trigger you can catch it in table deleted.
August 21, 2006 at 10:46 pm
Absolutely correct.
For full information behind this statement I would suggest againt to read BOL.
Especially if you gonna assume anything.
In this case pay attention to the topic "CREATE TABLE", section "Temporary Tables".
August 20, 2006 at 9:28 pm
Probably what you need is simple XML out of you data.
August 20, 2006 at 3:55 pm
This question is being answered on this forum several times every week.
August 19, 2006 at 10:15 am
Open BOL and read about system tables: syscolumns, systypes.
August 19, 2006 at 10:11 am
The only way is to create new table(s) with right structure and create trigger on old table to populate new table on each INSERT/UPDATE/DELETE on old table.
You not gonna notice...
August 18, 2006 at 5:27 pm
You don't need subquery at all.
For better performance always try to build "one go" query.
INSERT INTO my_table (comments,
...
August 18, 2006 at 5:12 pm
What stops you from doing it in application?
August 18, 2006 at 2:49 pm
If you have @vChar = '1458.87' and you are trying to treat it this way you'll perfectly match it to integer value 1458. But they are...
August 17, 2006 at 11:49 pm
Inside the trigger you can check
IF SUSER_SNAME() NOT IN ( ... ![]()
ROLLBACK TRAN
The list for NOT IN may be hardcoded, may be read from...
August 17, 2006 at 5:20 pm
As well as NVARCHAR datatype for RegionDescription.
August 17, 2006 at 3:59 pm
Viewing 15 posts - 5,131 through 5,145 (of 6,036 total)