Viewing 15 posts - 406 through 420 (of 569 total)
Obscurr (5/28/2009)
without the need for building a transaction first?Obsc.
Hi,
In Microsoft SQL Server, transactions are explicit by definition. This implies that an individual SQL statement is not part of a logical...
May 28, 2009 at 3:33 am
Adi Cohn (5/28/2009)
arun.sas (5/28/2009)
Hi Adi,
The scan is good,
but is any difference while putting the %2% instead of '%,2%' or '%,2,%'
ARUN SAS
Yes there is. If you have user that his/her...
May 28, 2009 at 3:07 am
Hi Adi,
The scan is good,
but is any difference while putting the %2% instead of '%,2%' or '%,2,%'
ARUN SAS
May 28, 2009 at 1:26 am
HI Ashok,
suppose your table (Tblgroup)column intUserId having the datatype of char or varchar
then use this like select intGroupId from tblGroups where intUserId= '%2%'
to get the Result of
intGroupId
1
3
ARUN SAS
May 28, 2009 at 12:41 am
Paul White (5/27/2009)
Trigger (5/27/2009)
Old Hand is correct! It's not Value Added Tax.Tough crowd :pinch:
Real things comes late but latest.
Fine!!!
ARUN SAS
May 27, 2009 at 3:47 am
Paul White (5/26/2009)
arun.sas (5/26/2009)
Lynn Pettis (5/26/2009)
Try this:CAST(IL.[VAT %] AS DECIMAL(4,2)) AS 'VAT'
but the orignal datatype is Decimal(38,20),
so,its may better to use this like
CAST(ABC AS DECIMAL(38,2)) AS 'VAT'
A country where the...
May 26, 2009 at 10:48 pm
Lynn Pettis (5/26/2009)
Try this:CAST(IL.[VAT %] AS DECIMAL(4,2)) AS 'VAT'
hi Lynn,
CAST(ABC AS DECIMAL(4,2)) AS 'VAT'is better,
but the orignal datatype is Decimal(38,20),
if the value like 99999.00000000, then again the Arithmetic overflow...
May 26, 2009 at 10:19 pm
vkoka (5/26/2009)
Dear All,How to get the start date of the Week, Parameter will be Week number.
Hi,
Why from the parameter of the week,
because its need to another parameter of...
May 26, 2009 at 3:04 am
Hi,
Try this
select ('update '+Table_Name+char(13)+' SET COMPANY_code = '+''''+'New Value'+''''+' Go' ) col1 into #temp
from INFORMATION_SCHEMA.COLUMNS
where Column_name like 'COMPANY_code'--COMPANY_NO,COMPANY
--select * from #temp
declare @sql varchar(8000)
set @sql = ''
May 23, 2009 at 2:16 am
ningaraju.n (5/22/2009)
If my serach text is like 'Mandir+Excel Soft'
then i want the UserId 2 and 7
If my serach text is like 'Mandir+Excel Soft + kumar'
i should get UserId 2
like...
May 23, 2009 at 12:07 am
Hi,
this is simple PivotTable statement
try this
create table #temp
(
nboothcode int,
[KANDRU KAMALA] int,
[DURU VIJAY KUMAR] int,
[DONTHIREDDY SRINIVASA KUMARI] int,
[MUNAGAPATI VENKATESWARA RAO] int,
[MUPPALLA NAGESWARARAO] int
)
insert into #temp
select 1,...
May 22, 2009 at 2:50 am
computer.mike (5/20/2009)
For example if I type...."Modify View MyView"...in query analyzerMyView opens in query analyzer.
hi,
Also try this option,
create this as your own sp and kept it in shortcut key to execute
CREATE...
May 20, 2009 at 10:43 pm
hi,
try this,
create table #temp
(
amount decimal(15,6)
)
insert into #temp
select 1245.658797
union
select 123597.599945
union
select 798754.589785
union
select 787561.124657
select substring((cast(amount as char)),0,(charindex('.',(cast(amount as char)))+3)) amount from #temp
amount
1245.65
123597.59
787561.12
798754.58
ARUN SAS
May 20, 2009 at 5:28 am
hi,
try this
select *,
(select name from syscolumns
where id in (select id from sysobjects
where name = View_name)) ALIAS_NAME
from information_schema.view_column_usage
where view_name = 'test_view'
ARUN SAS
May 20, 2009 at 3:57 am
Viewing 15 posts - 406 through 420 (of 569 total)