Viewing 15 posts - 5,671 through 5,685 (of 8,731 total)
Do you have a table with this structure?
You should really read on normalization to properly design your tables.
October 14, 2014 at 2:06 pm
That sounds like a good and bad news. And the good news sound great.
Thank you for the update, Steve.
In an unrelated topic, have you ever seen a code and want...
October 14, 2014 at 12:50 pm
Is that a constant? Does returning to the previous version solves the problem?
My guess is that the problem has to do with blocking or some kind of waits.
October 14, 2014 at 12:03 pm
This is one of the reasons to use the appropriate data types for your columns. This validation might not work if you have 2 or more points in your string.
I...
October 14, 2014 at 11:11 am
It seems weird that you have appointment dates in the same table as your admissions. I hope that your real data doesn't looks like that.
Here's an option based on what...
October 14, 2014 at 8:20 am
SQL Server keeps track of every change made to the database in the transaction log. The problem is that you can't use it to query tables based on the dates...
October 14, 2014 at 7:59 am
I did part of the job for you. You should be able to complete the rest.
CREATE TABLE table1(
Col1 varchar(8000))
INSERT INTO table1
VALUES
('Fornecedor 14105 -...
October 13, 2014 at 11:46 am
And I was asking where do the insert values come from, not where they go.
October 10, 2014 at 6:32 pm
Have you tried using the QUOTENAME()function?
It can be really helpful for this kind of things.
October 10, 2014 at 6:30 pm
Where are those 4500 lines of inserts coming from?
October 10, 2014 at 6:10 pm
The second one gives permissions on certain system views and functions. Especifically, Server-scoped dynamic management views and functions.
It isn't a big security risk, but you definitely don't need that grant.
http://serverfault.com/questions/191661/what-can-user-do-with-view-server-state-permissions
October 10, 2014 at 6:05 pm
Do you need to do it once? Or do you need to do it automatically at any time?
SSMS has an option to script your procedures as dynamic SQL, you just...
October 10, 2014 at 5:12 pm
For SSRS, it should be something like this:
=Sum(IIF(Fields!column1.Value = 1, column2, 0))
October 10, 2014 at 5:04 pm
Maybe this version will help you.
CREATE FUNCTION dbo.CleanNames( @Name varchar(8000))
RETURNS TABLE WITH SCHEMABINDING
AS
RETURN
--===== "Inline" CTE Driven "Tally Table" produces values from 0 up to 10,000...
...
October 10, 2014 at 4:38 pm
This editorial reminded me of this site:
Did you now that US spending on science, space, and technology correlates with Suicides by hanging, strangulation and suffocation? Or that Divorce rate in...
October 10, 2014 at 11:42 am
Viewing 15 posts - 5,671 through 5,685 (of 8,731 total)