Viewing 15 posts - 841 through 855 (of 22,202 total)
I'm not sure what you mean. You're saying you want to drop the table if it exists AND some additional criteria? DROP only uses IF EXISTS. There's not a way,...
June 13, 2022 at 11:47 am
Serial is an integer. So you would use that data type in any foreign keys.
June 13, 2022 at 11:45 am
No official term that I'm aware of. Old, outdated, orphaned, junk, garbage, <insert inappropriate words here>. You can call 'em just about anything I guess. I'd probably just refer to...
June 13, 2022 at 11:42 am
If you're using psql for running your commands, then the yes, \timing turns on query time. After you connect with psql you can just type "\timing" and it will turn...
June 8, 2022 at 8:23 am
this is not a postgreSQL site - you better off posting elsewhere (or read documentation).
you may or not get a reply here.
This is the PostgreSQL forum here on SSC...
June 8, 2022 at 8:16 am
The right indexes will help in some cases. But honestly, you'll have to evaluate each. It's going to be the same as dealing with the query tuning. It's all of...
June 7, 2022 at 9:40 am
The only reasons I would use XML are because I've got a metaphorical and/or technical gun held to my head. It's honestly crappy and the XPath queries within SQL Server...
June 7, 2022 at 9:37 am
Personally, either would be fine. However, AWS has a much larger market share, so it's more likely to be transferable.
June 7, 2022 at 9:32 am
It's mostly a question of training and setting up the right levels of access. While you want to empower people, I'd be cautious about giving too many, especially untrained and...
June 3, 2022 at 12:45 pm
Understand the problem better. KILL commands are a very blunt approach indeed to problems in the system.
In all fairness if the commands are coming from SSMS it's not...
June 2, 2022 at 7:00 pm
If the backup takes longer than an hour, we're killing it? I mean, so much of this seems arbitrary and heavy-handed. What's the real problem?
June 2, 2022 at 5:36 pm
Oof.
Well, part of it is easy & straight forward. Set up a SQL Agent job to run once an hour. You can script out the capture of long running code...
June 2, 2022 at 1:00 pm
I don't think we can do that. You can absolutely filter out tables that have no differences. However, once a table has a difference, in order to show that table,...
June 2, 2022 at 12:47 pm
You can also do a query against the DMVs to see what's currently in cache in terms of queries against the databases. It won't show the kind of detailed activity...
June 1, 2022 at 12:37 pm
Hi.
Full disclosure, I work for Redgate. So, you can weigh everything I'm about to say.
Microsoft has a tool built into Visual Studio, so you have to have a license for...
May 31, 2022 at 2:58 pm
Viewing 15 posts - 841 through 855 (of 22,202 total)