Viewing 15 posts - 8,671 through 8,685 (of 15,381 total)
Lynn Pettis (4/16/2013)
It is also possible to make the synonym unique between invocations of the proc if needed.
I was wondering about concurrency when I read your reply. I like the...
April 16, 2013 at 10:47 am
latingntlman (4/16/2013)
April 16, 2013 at 10:16 am
Look at coalesce. That is exactly what it is intended for.
April 16, 2013 at 10:10 am
Many times using a cursor for this sort of thing seems like the only way to pull this off. sp_msforeachdb is just a cursor too. Neither of these approaches is...
April 16, 2013 at 10:08 am
adonetok (4/16/2013)
I call this stored procedure from one asp.net app.If transaction roll back, does app catch an error message?
That depends on what the stored proc does. Does the proc throw...
April 16, 2013 at 9:14 am
Erin Ramsay (4/16/2013)
Soooooooooooo... you're saying this code is production ready? :hehe:
You can do whatever you want on your last day. 😀
April 16, 2013 at 8:37 am
adonetok (4/16/2013)
So, in my understading that "SET XACT_ABORT ON" should add all time.
As with everything in sql there are NO absolutes. If you want a portion of a process to...
April 16, 2013 at 8:15 am
liujchen 26197 (4/16/2013)
Can you please guide me how to call a iTVF function
in the Select SQL I posted? Same syntax or I need
to use Cross...
April 16, 2013 at 8:09 am
kapil_kk (4/15/2013)
select COUNT(convert(int,NULL)) from #temp
It will return 0 because when you execute the query:
SELECT CONVERT(int,NULL) it will return NULL and as the return type of COUNT is...
April 16, 2013 at 8:04 am
Lowell (4/16/2013)
Sean Lange (4/16/2013)
jimoa312 (4/16/2013)
... DO NOT RUN THIS IN PRODUCTION!!!!!!!...Run this ONLY ON A DEV/TEST server!!!!
One last thing...did I mention that you should not run this in production???
Happy hunting!!!
you...
April 16, 2013 at 7:52 am
Duplicate post. direct replies here. http://www.sqlservercentral.com/Forums/Topic1442713-149-1.aspx
April 16, 2013 at 7:39 am
jimoa312 (4/16/2013)
I'm new to SQL Server and I need to find out if the value 'Criminal' is stored in any of the Column/Fields within the database. Is there a...
April 16, 2013 at 7:37 am
liujchen 26197 (4/16/2013)
create function dbo.[ReplaceSplVarcharsBICD_test3] (@s varchar(8000)) returns varchar(8000)
with schemabinding
begin
if @s-2 is null
...
April 16, 2013 at 7:30 am
DiverKas (4/15/2013)
Lynn Pettis (4/15/2013)
DiverKas (4/15/2013)
One thing to bear in mind, the Generate Script does NOT include any column COLLATION settings. These still have to be set manually.
Not true, using...
April 15, 2013 at 3:13 pm
Well you could create your own IsAlpha. I would extend the version you found to at least include spaces and periods.
something like this might help you along.
declare @ScalarVal varchar(100) =...
April 15, 2013 at 1:58 pm
Viewing 15 posts - 8,671 through 8,685 (of 15,381 total)