Viewing 7 posts - 1 through 7 (of 7 total)
Hi,
I have just modified your query and, please find the below:-
-- converting durationinsecs into int and summing the value
SELECT Created, Name, Type, sum(cast (Durationinsecs as int)) as...
July 23, 2019 at 11:11 am
Hi,
Please find the query below:-
select ISNULL([id],0) id from empid
OR
select case when ISNULL(id,0) = 0 then 0 else [id] end as enum from empid
July 23, 2019 at 10:52 am
Please find the query below:-
CREATE TABLE ProjectCodes
(
ProjectID varchar(22) not null,
ProjectName varchar(25) null,
Level char(1) null,
[Project Classification] varchar(14) null,
[Project Type] varchar(11) null,
Billable char(1) DEFAULT ('Y'),
[Allow Charging] char(1) DEFAULT ('Y'),
Active...
July 23, 2019 at 6:03 am
Hello,
I have gone through your query, find the below queries
DECLARE @XML AS XML, @hDoc AS INT, @SQL NVARCHAR (MAX)
SELECT @XML = XMLData FROM XMLwithOpenXML
-- specified the namespace which was there...
July 23, 2019 at 4:44 am
Hello,
You have to define the full-text index on the table. After that contains will work. For defining the full-text index, right-click on the table and select full-text index and click...
July 22, 2019 at 10:38 am
I have created 2 tables asper your requirements and inserted the data into both tables
Gifts_to_give:-
Id_give number_of_gifts name city
1 5 luis Barcelona
2 3 Pedro Albacete
3 10 Antonio Madrid
Gifts:- having
gift_Id city description...
July 22, 2019 at 6:31 am
Yes, we can call stored procedures inside stored procedures.
see sample storedprocedure:
Create Procedure Details
(
@FromDate datetime
,@ToDate datetime
,@DateType nchar(10)
)
AS
BEGIN
IF @DateType = 'Birth'
...
February 22, 2013 at 4:18 am
Viewing 7 posts - 1 through 7 (of 7 total)