« first day (2590 days earlier)      last day (1728 days later) » 

07:37
morning
morning
@ARr0w hey man?
Saturday is almost here
0
Q: how to set default constraint to UTC time with TimeZone in SQL SERVER

Ram SinghI have to add default value to a datetime column with UTC time with Timezone, right now i am using the "GETUTCDATE()" in Default Contstraint, but it is not adding the Timezone infromation to Column. Please help me.

08:01
Welcome back to me
 
1 hour later…
09:16
@AndyK and i'm so happy about it :D
@hs-dev2MR welcome back to you too :D
09:45
@ARr0w true dat, young bro
War
War
10:42
hey guys
need a SQL boff
I have a load of data in a csv file
when i parse it I get an object graph like this ...
Company
  - Address
  - References
I need to bulk load about 20 million of these from the file
How do i bulk load the data and ensure it's related when done?
 
1 hour later…
12:09
@War sqlserver?
 
2 hours later…
War
War
13:48
yeh
think i have it covered
built my own object data reader that can be fed in to SQL bulk copy
just working on the service layer that feeds it
green light for second go live
War
War
cool
first one not go too well ?
14:16
hey guys, firstly apologies for not being here for a while, had some personal issues to deal with and have been really busy, secondly, having issues deploying with IIS, anyone done it before?
War
War
done what ?
what issues ?
so when trying to run the application on the server, (so technically locally) i am getting A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
War
War
ok so that's an issue with the SQL instance availability not the web server
we already have a site up and running on the same server, so i think it should be safe to assume the remote connections and firewall settings are correct
War
War
ok so the other app uses the same SQL server ?
and same db ?
and same connection string ?
14:22
yeah same server, different db, connection string the same except changing db name and user id/password
@War it went finally. But in the same time with 6 products, that makes a lot of go live...
War
War
@WhatsThePoint you sure the db is up and on that server ?
does the credentials being used in the conn string have access to the db ?
try connection from your machine using SQL management studio and the account info in the conn string
@AndyK tell me about it
done a complete rebuild of the existing stack
so now we are about to launch a new product chain
@War great
you are the architect
War
War
CMD, DMS, B2B portal, Workflow, BPM, Mail, Templating, ect, ect
the list is endless
btw
asking you this question
14:26
yeah db is definitely on the server, i have used the connection string on my machine to connect to it fine and it works, not tried connecting via ssms though
the team I'm working with
has created an emailing tool
that is sending transctionnal emails
but as there are 3 languages, french, polish and english
with 14 emails each
there are a lot of emails to check
for the testing , mainly for regression testing
yeah i can connect via SSMS
do you a way @War to test that without being too burdensome?
War
War
@AndyK you can setup a dev mail server that has 1 account which is the "catch all" then any mail that goes to it will go to a single mailbox
I think exchange can be configured like that but exchange is probably overkill for the problem you have
14:42
hello
@War it almost that. I was more thinking of a web interface where you can configure all the templates you need, linked it to our web server and the web server will fire it when necessary
So I got a question if anyone can help....
in that way, the design of the template will be done on a web interface instead of storing the template in the web server
@Koosh Got a SQL question? Any SQL flavor here, just ask. Indicate your db, quick question: quick answer. Long question, we will need an MCVE ---> stackoverflow.com/help/mcve you can build it with this -> dbfiddle.uk or sqlfiddle.com. Thanks.
@AndyK much appreciated, it's more about the logic of the process but here it goes
don't know why, but one of the columns in my table gets inserted with html tags. I'm trying to create a dynamic process to strip the tags off the varchar field and update it so its just text
SSMS 2012 - I was thinking of creating a Trigger, getting the row's ID and Text field from INSERTED, then calling a Stored Proc do to the stripping of HTML tags
how does it sound???????????????
@Koosh and?
14:49
and then update the text in the field with no HTML tags :)
@Koosh where is your code?
i'm just wondering if this is a sound idea?
I'm just wondering if I can just do this with Trigger on Insert -> Stored Proc to complete this process. Or should I have a Trigger --> Stored Proc --> Function (return value) --> Back to stored Proc to do the update
War
War
@AndyK scheduled mail sending ?
@Koosh maybe you can combine the two in one ?
War
War
most cloud providers have a solution for that out of the box
14:53
@War more like I contact the expert, and the platform is sending "hey Mr customer, our expert will contact you"
War
War
I built a platform for exactly that sort of thing
it's basically a system where you pick an event and then on an event trigger a workflow
the flow then does whatever you want it to
@War is there an already built platform for that?
War
War
then you can also setup a schedule for the flow to be called
tons of cloud platform providers claim they have it
they have basic orchestration engine stuff like azure logic apps
mine goes a bit further though ... i can do things like make api calls, transform the results of the call then send it to a different api
good for cross company data pipelines
@War which one has you checked in?
War
War
huh ?
15:09
@War did you check and made a comparative of the services offered by Azure or AWS?
War
War
I spent about 3 months asking M$ for a solution to the problem I was trying to solve ... essentially the closest thing that M$ has anywhere to what i need is Workflow Foundation
to my knowledge that is M$ only workflow engine and it's in the process of getting a rewrite to make it work on .NEt Core / .Net 5
so M$ attitude is "use this array of archestration engines in the cloud that each solve a bit of the problem you have and marshall large sets of data between them in the process"
My response was simply "no, i don't have time to wrap up a bunch of API's for products that aren't fit for the problem I have when in the same time / less I can build my own fit for purpose solution"
so I did ... now i'm working on the UI for it
not really found any solutions other than a server reboot
War
War
if the other app using the same db server is up it's a db thing / creds thing in the way the new db is setup IMO
unless the new app is doing something different to the old one and thus that's making not work
it's hard to say without more information
15:35
looks like it couldve been a binding issue
see ya
15:53
@War looks like the person who built it mightve built it wrong, so will try to sort it out next week
War
War
ah there we go ... figured as much
in the stacktrace right at the bottom it has one of his file paths
War
War
is it a config file by any chance that contains the connection string to the db?
lol
War
War
16:13
hmmm
not sure how he managed it tbh

« first day (2590 days earlier)      last day (1728 days later) »