Viewing 15 posts - 61 through 75 (of 330 total)
luissantos (4/3/2011)
Hello comunityDon´t worry anymore about my problem , but i solve them.
best regards
Luis Santos
Great that you yourself had tried and solved the problem.can you post how did you achive...
April 5, 2011 at 1:44 pm
Hi,
There are many ways you can have history of your data,since you are using SQL 2008 there are new features are there where you can use them depending upon...
April 5, 2011 at 1:37 pm
There is another 2 opition
1." CTRL+E " to execute the query same as F5.
2." ALT+X " to execute the query same as F5.
April 5, 2011 at 11:08 am
It is very simple.
You need to cast whole thing not the particular price alone
SELECT Case when Cgi.SUBJECT_TO_PER_DIEM = 'F' then CAST(Cgi.EXTENDED_LIST_PRICE AS VARCHAR)
...
April 1, 2011 at 5:16 pm
You can check with BINARY_CHECKSUM()
BINARY_CHECKSUM can be used to detect changes to a row of a table.
declare @Temp table(Col0 int ,Col1 int ,Col2 int )
declare @Temp1 table(Col0 int...
April 1, 2011 at 4:29 pm
SpitFireXVII (4/1/2011)
I knew I had a solution using for xml path but just couldn't get it right.
Grasshopper, your query works like...
April 1, 2011 at 3:48 pm
Try this,
CHARINDEX will help u
CREATE TABLE #abc_tmp
(Path nvarchar(850))
insert into #abc_tmp values('rptclientrifvdistrictgrantstatuschangelog_MillmanR_9dfb3dfa-081b-48d1-8bbf-81361bbd9cb9')
insert into #abc_tmp values('rptclientrifvdistrictgrantstatuschangelog_MeiA_e472f742-c6a3-4a70-822e-1c5417efb293')
insert into #abc_tmp values ('rptclientrifvglobalgrantproposalbytrackingnumber_BateyK_23eafa59-e222-462d-a08c-27ed8131c274')
Select SUBSTRING(Path,0, CHARINDEX('_',Path) ), * from #abc_tmp
DROP TABLE #abc_tmp
March 23, 2011 at 12:56 pm
hi,
Have a look on this
declare @flg tinyint
Select @flg= case when cmptlevel=100 then 1 when cmptlevel=90 then 2 when cmptlevel=80 then 3 end
from master.dbo.sysdatabases
Select @flg
IF @flg=1 exec...
March 22, 2011 at 11:24 am
hi,
Have a look at this
declare @SomeTable1 table (Project varchar(200),users varchar(30), Roles varchar(200))
insert into @SomeTable1 values
('Project 1' , 'Bill', 'Project Leader'),
('Project 1 ', 'Jim ', 'Executive Lead'),
('Project 1 ',...
March 22, 2011 at 11:14 am
pawan.boyina (3/9/2011)
select * from a table...
March 9, 2011 at 9:58 am
Just for the information to Know;
Go : Signals the end of a batch of Transact-SQL statements to the SQL Server utilities.
From the below you may get the idea:
declare @i...
March 4, 2011 at 3:57 am
dba.varun.in (3/3/2011)
I had a table which contain customerID,Invoice,TotalPayment
CID InvoiceAmount Total_pay Result
A ...
March 3, 2011 at 6:58 am
Hi
You no need to hardcode the months,we can get them by
Select datename(month,getdate()-30)-- Last Month
Select datename(month,getdate())-- Current Month
Select datename(month,getdate()+30)-- Next Month
need to pass the date,...
February 23, 2011 at 2:12 am
Hi,
Is this what you needed.
declare @Tb1 table (OrderID int, ProductID varchar(2), Quantity int, Price int ,Total int )
declare @Tb2 table (OrderID int, ProductID...
February 22, 2011 at 10:35 am
Viewing 15 posts - 61 through 75 (of 330 total)