Viewing 15 posts - 1,351 through 1,365 (of 5,841 total)
Key point here is to avoid putting INSERTED data into VARIABLES!! This is a CRITICAL FLAW because triggers fire once per BATCH, not PER ROW! Very common mistake.
I actually...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 13, 2016 at 11:31 am
Review Books Online for sp_executesql. BOL is a GREAT resource!!!
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 12, 2016 at 9:45 am
If you don't have to guarantee that each powershell script fires off the EXACT moment you start it, nor that everything be in some kind of huge distributed transaction, then...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 12, 2016 at 5:58 am
Visio works, but IIRC in the more recent versions it can no longer do reverse-engineering, which TOTALLY sucks!!
My favorite tool for database (and all other DEV/IT Pro modeling) BY FAR...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 8, 2016 at 7:58 am
bcatty13 (1/7/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 7, 2016 at 4:02 pm
No worries. Send me a PM and I will get you my email address and we can get something set up. We can start with Common TSQL Mistakes and hopefully...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 5, 2016 at 8:17 pm
Ed Wagner (1/5/2016)
benjamin.reyes (1/5/2016)
http://www.sqlservercentral.com/blogs/chadmiller/2010/05/15/sql-agent-visual-job-schedule-viewer/
It seems the company and the website no longer exist. Through replacement of several desktops...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 5, 2016 at 8:14 pm
Wayne West (1/5/2016)
TheSQLGuru (12/25/2015)
Jason A. Long (12/25/2015)
TheSQLGuru (12/25/2015)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 5, 2016 at 12:17 pm
Not even for Check Constraints since you can get bad data. Search for sql server udf check constraint bug and you can go here: http://sqlblog.com/blogs/tibor_karaszi/archive/2009/12/17/be-careful-with-constraints-calling-udfs.aspx
Addressing someone else's comment about...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 4, 2016 at 7:02 pm
lucien.jacquet (1/4/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 4, 2016 at 10:14 am
1) UDFs existed at least as early as SQL 2000: https://technet.microsoft.com/en-us/library/aa175085(v=sql.80).aspx
2) This article fails to mention an EXCEPTIONALLY important flaw (among many others that aren't covered such as preventing the...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 4, 2016 at 6:20 am
Scalar UDFs are HORRIBLY HORRIBLY BAD!!! Take the logic out and either inline it in your SELECT or make it an INLINE Table Valued Function and go with that. I...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 3, 2016 at 8:01 am
Jeff Moden (1/2/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 2, 2016 at 1:08 pm
I am going to address what could be a root flaw here WAY more important than (re)compilations: if you are using Scalar or Multi-Statement UDFs THEY MUST GO!!! There is...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 2, 2016 at 7:17 am
This sounds like a pretty complex requirement. Thus it is even more important than usual for you to give us sample table(s), sample data and expected output. You need to...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
January 2, 2016 at 7:15 am
Viewing 15 posts - 1,351 through 1,365 (of 5,841 total)