Viewing 15 posts - 1 through 15 (of 20 total)
The two table definitions could be different in any column(s) interms of the storage .
October 20, 2011 at 12:39 am
October 19, 2011 at 12:46 am
The DMV "sys.dm_os_memory_objects" shows the memory pages allocated to the SQL server objects.
Your query is retruning the memory pages allocated for the CLR objects .
Try the below link , might...
October 19, 2011 at 12:42 am
In case if you need the value to be datetime and storage type to be varchar in COGNOS, then you need to CAST it to datetime in the SP once...
October 13, 2011 at 7:25 am
The second one would be faster becuase it is single SET based update on the table compared to 10 different update statements.
The syntax in the second query seems to be...
October 13, 2011 at 5:12 am
Sorry the previous script doesnt work as expected if the value is present in the table.
Try the below code
declare @name varchar(10)
set @name ='junk'
select distinct case
when exists...
October 13, 2011 at 1:01 am
May be you can try this.
select distinct case
when exists (select name
from dbo.tableA
where name ='junk') then name
else ''-- or u can write something
end
from...
October 13, 2011 at 12:49 am
There had been a discussion going on the same error( the possible reason could be insufficient memory)
, PFB link, this might help you.
October 3, 2011 at 11:13 pm
Sql server is having Boolean Data Type, declare the vairable as bit
You can use the below
ALTER PROCEDURE [dbo].[cpas_CloneBoM]
-- Add the...
October 3, 2011 at 10:58 pm
Please mention the requirement clearly
September 30, 2011 at 3:31 am
Try the below code and let me know in case of any erorrs or problems.
This will extract the numbers from the alphanumeric values.
The final output is of Varchar type...
September 22, 2011 at 4:30 am
I hope there is a confusion with my question.
I am not asking why my insert was falied ...am asking why SQL server accepts such a conflicting range of values..isn't there...
September 19, 2011 at 3:18 am
hi,
You can check the below example, it might help you in framing your query.
Create Table test1
( c1 int ,
C2 int)
insert into test1 values (1,45)
insert into test1 values (1,76)
insert into...
September 19, 2011 at 1:47 am
Viewing 15 posts - 1 through 15 (of 20 total)