Viewing 15 posts - 241 through 255 (of 13,841 total)
If you do not have a server called CCSQL, I think it may be an alias to a server.
Read more about aliases here:
If you don't need or want to...
October 15, 2024 at 7:35 am
Can you provide a screen shot, as I'm not sure exactly what you mean?
October 11, 2024 at 3:55 pm
Not sure what that is, but try pressing 'Parse' (CTRL/F5) on it and you'll see that it doesn't.
October 9, 2024 at 2:27 pm
The code fragment I posted would not create that error. Can you post the entire text of the query which is giving that error?
October 9, 2024 at 2:13 pm
Your code is different from what I suggested. In particular, you changed <> to 'Like'.
SELECT ...
FROM sometables
WHERE t4.ReturnDate >= DATEADD (yy, -2, DATEADD (yy, DATEDIFF (yy, 0,...
October 8, 2024 at 8:29 pm
These are the rows that did not import properly:

and here are the originals (taken from the CSV file)

So now you can see why they...
October 8, 2024 at 8:14 pm
I just tried this and it imported quite easily.
Assuming you're in SQL Server Management Studio and want to import the data into a new table in a database which already...
October 8, 2024 at 8:11 pm
If the following query produces more than one result, that is your problem – you cannot update a single value to a multi-valued result set:
SELECT DISTINCT
...
October 8, 2024 at 7:52 pm
Yes, that's a fair comment.
We've gone down a hybrid path, with most DBs migrated to Azure SQL DBs, but SQL Server VMs for those that are not supported or need...
October 8, 2024 at 7:43 pm
Removal of results is done by including your condition in the WHERE clause, not in the SELECT.
WHERE custid not like '%abc%' or company <> 'abc'
October 8, 2024 at 7:37 pm
SSL encryption is configured on the server/host. But imagine a scenario where SSL is not configured . How does it look if SSMS choose encryption as mandatory and checks...
October 8, 2024 at 3:33 pm
I think you might be in trouble here, but will be interested to hear what other people think.
Are you in the process of migrating to Azure and had not considered...
October 8, 2024 at 1:58 pm
I have a suggestion to help avoid this problem. Make step one of your process a file copy, to bring the Excel file to a local (to the server) drive....
October 7, 2024 at 8:36 am
@SQL_Bee, are you planning on posting back with an update on this thread?
October 3, 2024 at 12:07 pm
hi phil, there is no error message, the wrong file ends in file stream directory and the trigger is somehow executed or not. i can see it only, because...
October 2, 2024 at 11:31 am
Viewing 15 posts - 241 through 255 (of 13,841 total)