Viewing 15 posts - 241 through 255 (of 13,848 total)
Although this does not address your question, I'd be tempted to try out this alternative syntax:
WHERE NOT EXISTS
(
SELECT x.status
...
October 19, 2024 at 9:00 am
WHERE sent_rowid is null or vendor = @vendor_param
?
October 16, 2024 at 4:30 pm
Frederico's message is spot on, as usual!
In my opinion, Excel should almost never be used to view *sv files, because as part of its parsing, it tends to display values...
October 16, 2024 at 2:55 pm
If your databases are fully source-controlled, it should be possible to simply deploy them from the relevant branch. The act of deploying will take care of most of the DDL...
October 16, 2024 at 12:20 pm
Dynamic SQL is one way of creating a variable SELECT statement that can be executed.
October 16, 2024 at 12:12 pm
Thanks Phil. I will check this.
One more query related to this. In the screenshot you can see that "save my password" is checked for the user "SA". How can...
October 15, 2024 at 12:23 pm
Different people will do things in different ways, as it depends on how you want to work together, how many developers there are and how many projects there are.
I work...
October 15, 2024 at 8:31 am
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
Viewing 15 posts - 241 through 255 (of 13,848 total)