Viewing 15 posts - 1,291 through 1,305 (of 1,390 total)
/* test data */
drop table if exists #test_apps;
go
create table #test_apps(
AppNumberint not null,
Employeenvarchar(64) not null,
Time_generatedatdatetime2 not null);
go
insert #test_apps(AppNumber, Employee, Time_generatedat) values
(143270137,'shiva', '2019-09-23...
September 27, 2019 at 1:36 pm
Yes it's part of SSIS but honestly: I can make SQL Servers fly but creating C# Code which aswell flies on SQL Server is a completely different story therefore...
September 26, 2019 at 3:49 pm
Ok, yeah that's right. I was thinking of something else
September 20, 2019 at 8:12 pm
Thank You.
Can i define player_name as an index?
How do i add highscores to the table using pr_PutHighScoreList(stored procedure)
You can only appear on the high score list once, and only...
September 20, 2019 at 4:14 pm
The ORDER BY entr_dt I think should be ascending. Earlier is better?
September 20, 2019 at 3:57 pm
update a
set
revenue=revenue*isnull((tsr_run.rate/tsr_ship.rate),1)
from
test_tableA a
left join
test_season_rate tsr_ship on a.itemnumber=tsr_ship.itemnumber
and datepart(m, a.shipmentdate)=tsr_ship.season_month
left join
test_season_rate tsr_run on a.itemnumber=tsr_run.itemnumber
...
September 19, 2019 at 9:39 pm
The code you provided executed without error and returned 24 rows. The two temp tables have identical DDL so it seems to maybe make sense to do UNION ALL and...
September 19, 2019 at 6:17 pm
Could be something like this
ALTER PROCEDURE [dbo].[employee]
@isemployee int
AS
BEGIN
DECLARE @Email Varchar (100)
DECLARE @Name Varchar (100)
IF (@isemployee = 0)
BEGIN
SELECT @Email = text from dbo.emailtable WHERE email = 'XXX'
SELECT @Name...
September 19, 2019 at 5:24 pm
This code has the 3 ranking methods (row_num, row_rank, and dense_row_rank) and joins to itself twice to get the next and previous list members. The ORDER BY for the rankings...
September 19, 2019 at 2:55 pm
One sane way to allocate inventory is to do it when the invoices are generated. Is the purpose here to answer the question "how many of which products can I...
September 18, 2019 at 11:46 am
I use this query to find the details of the last time a query was run
Could you explain please why the guid is there?
September 13, 2019 at 5:05 pm
In this link: https://wordpress.org/support/topic/strange-search-error/
The user 'rundlof' wrote:
I have seen this on non-WordPress sites too, only Chrome. I believe it is an autocomplete entry created as a result of an error...
September 13, 2019 at 11:42 am
This works:
declare @v table(
varchar_id varchar(36));
declare @u table(
unique_id uniqueidentifier);
insert @v(varchar_id) values('09C4C7B4-1275-460A-AE23-FFA9256B1ABE');
insert @u(unique_id) select * from @v where varchar_id='09C4C7B4-1275-460A-AE23-FFA9256B1ABE';
select * from @v v join @u...
September 12, 2019 at 12:28 pm
Viewing 15 posts - 1,291 through 1,305 (of 1,390 total)