Viewing 15 posts - 6,676 through 6,690 (of 13,469 total)
colleen i know that via TSQL you can get the serverproperty:
would that help?
SELECT 'IsClustered', SERVERPROPERTY('IsClustered')
September 27, 2011 at 2:26 pm
there's a post here on SSC that might help, as well as the wiki on icalendar:
http://en.wikipedia.org/wiki/ICalendar
http://www.sqlservercentral.com/Forums/Topic403478-149-1.aspx
i know you send a file as an attachment of *.ics, but i cannot find...
September 27, 2011 at 2:18 pm
that's what i had tested, kind of...
my scenario was:
my default database was "PERFECT1000",
my connection string was "SandBox",
the failed login returned master for the db_name() finction that i logged.
September 27, 2011 at 10:48 am
just to confirm: database name does not seem to be available at login.
i created a login trigger to prevent all logins,and then changed my connection string to explicitly have the...
September 27, 2011 at 10:41 am
I believe the users default database is only used after a successful connection, and only if they user did not explicitly specify the database in the connection string.
so i don't...
September 27, 2011 at 10:25 am
simple CONNECT permissions give the user the ability to query sys.databases, which is where the user gets the ability to see all teh databases, even though they have no rights...
September 27, 2011 at 9:58 am
when you do math on numerics and decimals, SQL server is free to use the maximum precision unless you declare it ootherwise.
DECLARE @numerator numeric(8,3)
DECLARE @denominator numeric(8,3)
SET @numerator = 3
SET @denominator...
September 27, 2011 at 7:53 am
here's what i use, just retested the syntax:
--http://www.7-zip.org/download.html
--http://downloads.sourceforge.net/sevenzip/7za920.zip
DECLARE @results TABLE(results varchar(255))
declare @command varchar(2000)
--zip one file
SET @command =
'"C:\DataFiles\7zip_CommandLine_7za465\' --path to 7za command line utility note the...
September 27, 2011 at 6:33 am
thomasemp (9/26/2011)
September 26, 2011 at 11:29 pm
that is by design. all bulk copying, whether using bcp.exe , BULK INSERT or via a SQLBulkCopy, triggers are not executed by default.
there is a flag you can set...
September 26, 2011 at 11:21 pm
does this do what you are asking?
it seems a little round about, but it works with the sample data given.
/*
--Results
transaction_idtype
1A
1B
5A
5B
5B
*/
With mySampleData (transaction_id,type)
AS
(
SELECT 1,'A' UNION ALL
SELECT 1,'B' UNION ALL
SELECT 2,'A' UNION...
September 26, 2011 at 12:24 pm
none of the above.
go to this page:
and download either the 32bit or 64 bit of Service pack 4.
that service pack is designed to upgrade any type of instance...
September 26, 2011 at 10:55 am
try something like this to track down the non numeric values:
SELECT DISTINCT '>' + [test] + '<' FROM K
WHERE ISNUMERIC([test]) = 0
maybe it's a value like 'NA" or 'N...
September 26, 2011 at 10:52 am
shivendrakumaryadav60 (9/26/2011)
thank you friends ,I were just seeking for architecture of UDF.
In programming languages, a function can do everything a Subroutine can do, plus return a value.
in SQL it is...
September 26, 2011 at 10:45 am
nothing is ever equal to or not equal to null; since null is undefined, nothing can match it, even another null.
you have to us the IS function instead:
SELECT
...
September 26, 2011 at 10:33 am
Viewing 15 posts - 6,676 through 6,690 (of 13,469 total)