Viewing 15 posts - 601 through 615 (of 13,469 total)
SSRS has a Grouping band, and the MAX function exists in expressions...did you try that yet?
it's a little hard to help from the screenshot., so i can only...
March 8, 2017 at 2:08 pm
off hand, i'd say it looks like you need to use something like SELECT MAX(ASP_New?) As ASP_New FROM SomeTable group by March 8, 2017 at 1:05 pm
I believe that when the CLR is being compiled, it assesses what it is doing, and has unalterables built in rules, depending on what the CLR does, which determines whether...
March 8, 2017 at 11:04 am
if we assume there's only one carat, and only one curly brace:
/*
(No column name)
CM.INIT
CM.INIT
*/WITH MySampleData(val)
AS
(
SELECT 'F0-B20170225131636437{A^CM.INIT}' UNION ALL
March 7, 2017 at 12:40 pm
There is nothing built in to SQL to do it via script; Even SSMS uses SMO to script objects out, it's not TSQL native.
Luis was kind enough to link...
March 7, 2017 at 12:21 pm
here's a script to generate the commands for you;
I keep this handy all the time: SELECT Quotename(s.NAME) + '.' + Quotename(o.NAME) AS QualifiedObject,
s.NAME ...
March 3, 2017 at 1:36 pm
when the FK was originally created, it would default to checking all the data, so it would be enabled and trusted.
some processes will disable foreign keys as part of...
March 3, 2017 at 11:19 am
you would not be able to deploy any projects to SQL Express, nor use the SQL Agent to schedule packages.
Since SSDT is a completely separate installer, you can...
March 1, 2017 at 7:10 am
February 28, 2017 at 8:30 am
I see your query failed a syntax check; when i reformatted it, i see you got three trailing ,0), as if they were part of NULLIF/COALESCE, but you need only...
February 25, 2017 at 6:48 am
your code, i guess is a web page, script task or application, has to pass the parameters.
here's an untested modification of some code i had to help get you...
February 25, 2017 at 6:37 am
i know power shell has a function FromFileTime that can convert that wierd value( #ticks?) to datetime
i've sued this expression:
Expression={[DATETIME]::fromFileTime($_.accountExpires)}}
$Results = Get-ADUser -Filter...
February 24, 2017 at 2:56 pm
I assume you are running the script in SSMS, right?
I've seen the same behavior in a script that was 46K lines of inserts for a zipcode database.(INSERT...VALUES)
run it...
February 24, 2017 at 1:39 pm
I'd definitely consider moving any file or renaming operations into SSIS and not use TSQL to do it. better error handling occurs there.
i'd think it might be a concurrency...
February 22, 2017 at 7:32 am
Viewing 15 posts - 601 through 615 (of 13,469 total)