|
Oh, for that I create sql files and store them on servers with multiple backup avenues.
Then I forget where they are and run to the internet to look up ways to solve the problems I can't remember the solutions to.
|
|
|
|
|
Member 8234139 wrote: Oh, for that I create sql files and store them on servers with multiple backup avenues.
Then I forget where they are and run to the internet to look up ways to solve the problems I can't remember the solutions to.
That's exactly my method.
|
|
|
|
|
I wrote a little program called Code Vault it lets me name the snippet of code with a date saved and the code It is searchable from experience it needs a one character field where you enter C for create or U for Update need to rewrite it as it is in VB 6 Just a suggestion
|
|
|
|
|
Yeah a SQL-Vault is the type of thing I'm talking about. It would be nice.
|
|
|
|
|
Sorry for the late reply been working at the hospital a lot
You can find my GitHub here look for PW Keeper
https:
Enter this link in the ADDRESS FIELD not the SEARCH FIELD
|
|
|
|
|
Why use text files? A database can store strings. So if you want searchable storage of queries why not make a table?
|
|
|
|
|
Yes, I'll query the database for the query that I need so I can query the database.
You are correct though. I'm thinking more of a SQL-Manager that allows me to file away SQL queries with a good summary of what it does and keywords for finding.
|
|
|
|
|
So you mean a separate database of queries that hold the queries that you can query so you can query the other database? Maybe OneNote is what you want.
|
|
|
|
|
So, it depends on which interface you're using.
If you're using Management Studio you can save frequently-used queries in 2 places (I've used both over the years):
1) Create a 'Project' (File / New / Project / SQL Server Scripts) and save .SQL files into that project. Kinda clunky for organization, but workable. I used this method as a default, and used file naming for file sorting and commented keywords for searches. Sometimes you have to open the project file and manually rearrange the file references.
2) use the Code Snippets Manager (Tools / Code Snippet Manager) You can create your own Groups and add scripts to existing or new Groups. pretty handy, a little clunky, but it works. I used this area for some very-frequently-used utility scripts.
If this info is coming to you late, well - I read your thread early this morning, but didn't get to my computer till now. Take it for what its worth.
Cheers,
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|
|
Oh, by the way: if you use Option 1 (SQL files and SQL Project) you can use version control so as to not lose files or their contents.
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|
|
This is good stuff. I will read over this again and try it out. Thanks very much for reading and posting.
|
|
|
|
|
Sure. No prob. If you have any questions, please send them.
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|
|
Apple maps has competition![^]
I can see so many reasons why it never caught on ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
That's the most amazing technology and amazing thing that some GENIUS put their mind to solving.
Also, it is the utterly the stupidest thing someone has ever even thought about doing.
This is the idiot-genius at work!!! We need more products from this type of individual.
|
|
|
|
|
Actually, with enough infrastructure in place it could work.
It's accurate over around twenty miles, so you'd need hubs every 20 miles. Each hub contains cassettes with direction to every location within the twenty mile range, including all the neighbouring hubs.
You drive to a hub, get the next hub cassette, drive there, hand it over and get the next, and so on until you reach your target hub and collect the "local destination" cassette.
With enough tapes and trucks to return them to the appropriate hubs, it'd work. Total Genius!
But it's spectacularly inefficient, and a bloody stupid idea!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Total Genius!
But it's spectacularly inefficient, and a bloody stupid idea!
Just like twitter.
We must promote this and get everyone to use it.
|
|
|
|
|
Well ... it'd sell well to hipsters ... :EvilGrinSmiley:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Once the "right people" used it and blathered on and on about it every day everywhere then it'd be a huge success. Then they'd say, "Well, it's Science, so of course we are using it." And then you wouldn't be allowed to ignore it, because if you did then they'd call you a flat-earther and a rube. That's when you know you have a really great product.
|
|
|
|
|
There was an even earlier US prototype that showed sequential printed instructions; IIRC from the 20s or 30s and covering trips around NYC.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
If you used to love the smell of flowers, are you being scentimental?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I suppose you'll petal flower-based puns all week, odor other option, aroma stinkers. That's a bloomin' horror about to take root that will soil my spirit as I cannot leaf them alone but must pun in kind. A thorny issue.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
modified 30-Nov-20 11:22am.
|
|
|
|
|
Nah, you're just SCOVID. Scarred by COVID.
|
|
|
|
|
Every time one of my Windows 10 devices reboots now (while I wasn't watching) and asks me about "settings", I automatically respond with "Remind me later" based on others' experiences (e.g. OG).
Yesterday it was my Surface and something about "crypto / bit locker keys" missing.
MS employees lying awake at night dreaming this stuff up.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
My total resolve to never allow Win10 on any of my systems is, if it ware possibly, further reinforced.
I knew, "from day one", when the unstable updates became part of the deal, that no good would come of it. Apparently I was overly optimistic.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I am quite thoroughly disgusted with it. Every damned time it updates itself some setting or another is changed with no easily apparent way to revert it. This is very tiresome.
The latest is a utility program I have used for years on this very machine has now been "blocked by an administrator" yet my account is an administrator and I didn't do it. I changed no settings to allow this but that's the way it is now.
Visual Studio did something similar to me too. My software does NOT do this nonsense. Previous behavior is always the default.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|