Viewing 15 posts - 196 through 210 (of 3,479 total)
Disclaimer: I'm not an expert, but this worked for me... I didn't create mad dynamic SQL, but...
("Ingredient" is just some table I had in a database... nothing special.) But I...
May 18, 2023 at 11:29 pm
You can do this with text functions like CHARINDEX, LEFT, RIGHT.
What have you tried?
May 4, 2023 at 11:20 pm
Google-fu not working? See this page...
use tempdb;
go
DECLARE @MyMachine NVARCHAR(128);
SELECT @MyMachine = CAST(SERVERPROPERTY('MachineName') AS NVARCHAR(128))
PRINT @MyMachine + ' is a piece of junk';
May 4, 2023 at 1:21 am
LOL. That's exactly how I feel about touchscreen radio controls. Are those things designed to kill me? I thought the whole idea was to be able to use the radio...
May 3, 2023 at 5:06 pm
T-SQL is pretty big (there are lots of functions etc). One way to learn it is to break it up into chunks. So you get a database and start asking...
April 26, 2023 at 7:54 pm
That's the way education is though. when I was in undergrad, one of my professors said something like "You thought I was here to teach you. That's where you're mistaken:...
April 26, 2023 at 1:48 am
It's okay to be new. But please post what you tried in order to solve the problem. one thing it does is it forces you to recreate the problem for...
April 25, 2023 at 9:16 pm
I'd submit a tested query, but I don't have any data to test it on... so, all I can offer is a vague generality.
If you use CROSS APPLY, you can...
April 22, 2023 at 2:16 am
I'm not saying that Joe isn't insanely smart. Not at all. He absolutely is. He's just ... (What's the right word??!!) .. inflexible? Kinda like an Aspie with Attitude? Perhaps...
April 18, 2023 at 6:40 pm
Wow. Just wow.
I've heard of "biting the hand that feeds me" but of all the hands to bite, that's perhaps the worst one.
Don't you got no home training??
April 18, 2023 at 5:36 pm
I didn't have a problem with it. If you want condescending, you have to read some Joe Celko posts.
April 18, 2023 at 3:15 am
maybe I'm too tired or too lazy to figure out what you wrote, but why not just use a window and order the rows in the window by date descending,...
April 17, 2023 at 3:44 am
So create a temporary table and insert the records there, and then create the cursor based on that?
(I guess ideally you'd create the temporary objects inside your stored procedure, and...
April 14, 2023 at 4:03 am
If the index is created, you should be able to find it in the sys.indexes table
April 9, 2023 at 4:26 am
Can you use the upsizing wizard?
Move Access data to a SQL Server database by using the Upsizing Wizard - Microsoft Support
April 4, 2023 at 11:17 pm
Viewing 15 posts - 196 through 210 (of 3,479 total)