Viewing 15 posts - 31 through 45 (of 375 total)
ensure the file is a correctly built CSV file - if it is then you can load it using the format=CSV above - if it not then...
June 10, 2025 at 4:23 am
ensure the file is a correctly built CSV file - if it is then you can load it using the format=CSV above - if it not then get whoever...
June 9, 2025 at 3:42 pm
What if you change MAXERRORS = 0 to MAXERRORS = 1 (or whatever your upper limit is)
I tried a few values and the outcome is the same. The file...
June 9, 2025 at 3:36 pm
I came across OPENROWSET. This looks promising but I have never used it before. Can this be used for my purpose? If yes, how would I use it? I am...
June 8, 2025 at 11:15 pm
There is probably a non-printable character in it.
CREATE TABLE #DIVIDENDS_NEW
(
[DIVIDEND_AMOUNT] [varchar](15) NULL
);
insert into #DIVIDENDS_NEW select NULL;
insert into #DIVIDENDS_NEW select '5';
insert into #DIVIDENDS_NEW select CHAR(10); /* invisible...
June 5, 2025 at 3:35 pm
This is great. It works. Thank you so much!
June 4, 2025 at 11:45 pm
I re-wrote my code with an IF statement and that solved the issue.
June 2, 2025 at 4:43 am
Try/Catch blocks? https://learn.microsoft.com/en-us/sql/t-sql/language-elements/try-catch-transact-sql?view=sql-server-ver16
I clarified my original post. Not sure if you saw it or not when you replied.
I did think about TRY/CATCH but not really sure how I can...
May 24, 2025 at 4:28 am
I gave the proposed logic CASE but I am open to anything. If code has an error then return NULL else run the code
May 24, 2025 at 4:20 am
I was playing around with the query. I figured out the problem. The query didn't like the alias. Once I removed the alias then it worked. That is so odd...
May 1, 2025 at 3:26 am
you need to select it - from your image while it is available, it is not selected hence it won't log
Thank you so much! it works now!!
April 28, 2025 at 2:32 pm
Is anyone able to help me with this?
April 28, 2025 at 3:22 am
I used DBCC SHRINKFILE (1,0) to shrink the MDF file. The size of the MDF file is about 20GB. How long should this command take to run? Should it be...
April 25, 2025 at 2:25 am
I found queries to help
How do I interpret the results? I ran sp_spaceused to get this:
The MDF is close to 37GB and LDF is close...
April 23, 2025 at 6:32 pm
Thanks for the reply. Very helpful.
Is there a way to look at the system to see why the increase is happening? A more "scientific" answer to figure out the root...
April 23, 2025 at 6:17 pm
Viewing 15 posts - 31 through 45 (of 375 total)