Viewing 15 posts - 6,676 through 6,690 (of 13,460 total)
thomasemp (9/26/2011)
Lowell
September 26, 2011 at 11:29 pm
that is by design. all bulk copying, whether using bcp.exe , BULK INSERT or via a SQLBulkCopy, triggers are not executed by default.
there is a flag you can set...
Lowell
September 26, 2011 at 11:21 pm
does this do what you are asking?
it seems a little round about, but it works with the sample data given.
/*
--Results
transaction_idtype
1A
1B
5A
5B
5B
*/
With mySampleData (transaction_id,type)
AS
(
SELECT 1,'A' UNION ALL
SELECT 1,'B' UNION ALL
SELECT 2,'A' UNION...
Lowell
September 26, 2011 at 12:24 pm
none of the above.
go to this page:
and download either the 32bit or 64 bit of Service pack 4.
that service pack is designed to upgrade any type of instance...
Lowell
September 26, 2011 at 10:55 am
try something like this to track down the non numeric values:
SELECT DISTINCT '>' + [test] + '<' FROM K
WHERE ISNUMERIC([test]) = 0
maybe it's a value like 'NA" or 'N...
Lowell
September 26, 2011 at 10:52 am
shivendrakumaryadav60 (9/26/2011)
thank you friends ,I were just seeking for architecture of UDF.
In programming languages, a function can do everything a Subroutine can do, plus return a value.
in SQL it is...
Lowell
September 26, 2011 at 10:45 am
nothing is ever equal to or not equal to null; since null is undefined, nothing can match it, even another null.
you have to us the IS function instead:
SELECT
...
Lowell
September 26, 2011 at 10:33 am
sql4us (9/26/2011)
Thanks for the reply. I tried cast and also convert as you mentioned (below code), it throws me an error"Error converting data type varchar to numeric."
besides 'N/A' it...
Lowell
September 26, 2011 at 10:31 am
yes you are correct.
a sysadmin login can do everything.
a login with sysadmin priviledges performs work at a database level is performed in the context of the user dbo , which...
Lowell
September 26, 2011 at 10:21 am
you'll need to cast or convert; you cannot compare strings like that; you run into trouble with greater than and between and stuff not behaving the way the value of...
Lowell
September 26, 2011 at 10:16 am
vikramp 2790 (9/26/2011)
Lowell
September 26, 2011 at 10:10 am
InfiniteError (9/26/2011)
Sorry if my example is not that clear. My example assume that all are the same (same number of records, indexes, where clause). Honeslty...
Lowell
September 26, 2011 at 9:24 am
InfiniteError (9/26/2011)
Lowell
September 26, 2011 at 8:37 am
dave i think it is C:\WINDOWS\system32\msorcl32.dll or C:\Program Files\Common Files\System\Ole DB\msdaora.dll as part of any MDAC that got installed (uusally already there);
Lowell
September 26, 2011 at 8:00 am
my first recommendatino would be to change that to a larger Initial Size, which depends a lot on how big it is rig now. if it's 2Gig in size right...
Lowell
September 26, 2011 at 7:56 am
Viewing 15 posts - 6,676 through 6,690 (of 13,460 total)