Viewing 15 posts - 421 through 435 (of 569 total)
Hi,
before that try this,
use the default is easy option and common usage.
create table #temp
(
slno int,
DBNAME varchar(10) default db_name(),
servername varchar(15)default @@servername
)
insert into #temp (slno)
select 1
select * from #temp
ARUN SAS
May 19, 2009 at 9:06 pm
rafii.mili (5/17/2009)
-number of requests -------duration of treatement----------30 -----------------< 1 day
----------10 ------------------< 1 hour
----------20 ------------------< 1 week
Is it possible to have this result ?
Yes,Possible
ARUN SAS
May 18, 2009 at 1:09 am
Hi,
During sort, make sure no insert,update and delete operation happened in the main table the put the nolock in the main table
ARUN SAS
May 15, 2009 at 1:05 am
Hi,
Your just select (retrieve) the record? If so, then no need to think the concurrency just put the locks in the main table.
You need to stored the record with concurrency...
May 15, 2009 at 12:47 am
Hi,
For better assistance in answering your question
See this link http://www.sqlservercentral.com/articles/Best+Practices/61537/
Then post your codes.
ARUN SAS
May 15, 2009 at 12:26 am
John Esraelo (5/14/2009)
So, I think your suggestion would work better.
Hi,
NO, in the Citrix, the workstation name for all users is same i.e. only unique Citrix server name retrieved for...
May 14, 2009 at 11:01 pm
Hi,
System_user and @@spid is enough to act like better concurrency,
Instead of system_user use the workstation name (host_id()) gives best concurrency in the Static temp tables.
ARUN SAS
May 14, 2009 at 10:40 pm
iamsambu (5/14/2009)
and i want that to be sorted like folders sorting(means in if you sort folders my name in drive how it will show like this)
Hi,
you need sort in the...
May 14, 2009 at 10:15 pm
hi,
show you tables
1)Emp_SalaryDetail,
2)Emp_EmployeeMain,
3)Emp_SalaryStructured,
4)Emp_SalaryDeduction
with sample data
ARUN SAS
May 14, 2009 at 9:10 pm
Hi,
Then how you are calculate the TotalSalary?
ARUN SAS
May 14, 2009 at 4:27 am
Hi,
Try the
EXEC sp_lock
ARUN SAS
May 14, 2009 at 4:19 am
EmployeeID -- Basic Salary -- Medical -- Connvence -- IncomeTax -- LeaveFine -- Loan -- TotalSalary
01 ...
May 14, 2009 at 4:10 am
waqarlaghari (5/14/2009)
EmployeeID -- Basic Salary -- Medical -- Connvence -- IncomeTax -- LeaveFine -- Loan -- TotalSalary
01 ...
May 14, 2009 at 3:58 am
waqarlaghari (5/14/2009)
It gives only totalsalary and nothing else...... Do you have an other idea...
Hi,
once againg see/study the above simple pivot code.
ARUN SAS
May 14, 2009 at 3:25 am
Hi,
try this
create table #temp
(
figno varchar(3)
)
insert into #temp
select '1'
union all
select '2'
union all
select '3'
union all
select '1a'
union all
select '2b'
union all
select '2c'
union all
select '1c'
union all
select '11'
union all
select '12'
select * from #temp
select * from #temp
order...
May 14, 2009 at 2:34 am
Viewing 15 posts - 421 through 435 (of 569 total)