Viewing 15 posts - 556 through 570 (of 7,191 total)
SELECT Language, format
FROM Product_Details
WHERE TRY_CONVERT(varchar(max),format) = REPLICATE('?',LEN(format))
John
January 25, 2019 at 4:58 am
Try removing the square brackets from the first line. It's looking for that literal login name - square brackets and all.
John
January 24, 2019 at 9:16 am
I see Grant,...
January 24, 2019 at 8:38 am
There's no "undo" switch, but you can create a task that moves the files back, similar to the task that moved them in the first place.
John
January 21, 2019 at 6:32 am
Use the sys.server_role_members (that may or may not be the exact name - I can't remember) catalog view to script out the members of the sysadmin server.
John
January 21, 2019 at 2:05 am
In Object Explorer, navigate to Security -> Logins. Open the Object Explorer Details window. Select all logins, or just those you want to script. Right-click, and choose Script Login as.
January 16, 2019 at 1:50 am
Your INSERT statements will fail unless you turn IDENTITY_INSERT on.
Why don't you just create LogTable as a view, and then it's always correct without your having to update...
January 11, 2019 at 1:46 am
Your SELECT statement is just selecting the dynamic SQL, not setting it. Try changing SELECT to SET @sql =
John
December 27, 2018 at 9:20 am
I'll hit...
December 21, 2018 at 2:00 am
Well, my guess would be yes. But you're the one with the SQL Server 2000 computer - why not try it? You won't break anything.
John
December 17, 2018 at 1:48 am
I think this is what you're looking for.
John
December 14, 2018 at 9:41 am
December 3, 2018 at 8:30 am
No, I agree - it would need to be the first column in the key. But like I said before, it's not needed at all, unless the product ID PD1...
November 30, 2018 at 8:43 am
Danny
Use REPLACE to replace '-00' with '-20'.
Edit: and then change the data type to date so you don't get this happening again.
John
November 30, 2018 at 5:21 am
I'm not sure there's any more efficient way than that. You'll probably need indexes on the columns in the GROUP BY clause and in the join predicates as the number...
November 30, 2018 at 2:15 am
Viewing 15 posts - 556 through 570 (of 7,191 total)