Viewing 15 posts - 1 through 15 (of 142 total)
i have below two tables,and am trying to create a view using below statements.
also wants to apply index on view, i cannot apply index on views with UNION.
so i want...
November 9, 2016 at 3:33 am
Hi,
Want to combine two select queries in to one by excluding UNION.
November 4, 2016 at 7:45 am
Hi Team,
We are using the same record_id in multiple tables, so the other tables which are using record_id column also should not update until the commit / rollback.
July 21, 2016 at 3:52 am
without "old_val, new_val" trigger is working fine,want to add the old and new values to know which value is udpated to what.
please help in query.
November 25, 2015 at 3:31 am
Thanks its working good.
also wants to delete from table before insert.
is it possible in this view...
November 19, 2015 at 8:23 am
i Know Joins, but wants to know the syntax to replace below query with value in another table..
+ISNULL(u.code,'')+' '
October 21, 2015 at 4:24 am
Dont know how to join while concatenating the two strings.
Please help
October 21, 2015 at 3:05 am
Table : Unify
id desc code
1 HSBOM 002
table 'JKS'
code | Desc
-------------
001 | LCC
002 | HHT
003...
October 21, 2015 at 2:37 am
Yes wants to join the two tables, in first table am trying to get the values as a single string, and i want to get the code from second table...
October 21, 2015 at 2:34 am
Thank you for suggestions.
Is there any third party tools or SQL Server tools to compare the DB's and generate automatic scripts to sync.
Is SQL Database manager will help on this...?
Please...
September 8, 2015 at 1:28 am
Hi Team,
Below code is working.
with base as (
select
*,
rn = row_number() over (partition by user_name order by access_time desc)
from dbo.library
)
delete from base where...
August 5, 2015 at 3:15 am
access_time field is the accessed time of user, want to keep the recent 50 entries and delete all the remaining for every user.
August 4, 2015 at 9:00 am
Numeric values in the first query should be converted to INTEGER.
July 8, 2015 at 9:22 am
Hi,
first query result :
1
2
11
20
32
68
100
124
246
256
second query result
A1
A10
A11
AB1
AB10
B1
B2
B21
B31
want to generate the complete output in single select statement.
July 8, 2015 at 9:02 am
Viewing 15 posts - 1 through 15 (of 142 total)