Viewing 15 posts - 4,321 through 4,335 (of 13,469 total)
SQL_ME_RICH (11/27/2012)
Or perhaps it's even worse, and returning NULL!!!😛
but null is neither results nor not results, so it must be ok!
November 27, 2012 at 2:39 pm
lynn.huff (11/27/2012)
Lowell, that link just points back to this forum post.
whoops! link fixed, i built the tag wrong, sorry.
November 27, 2012 at 12:53 pm
you could also set the database to autoclose, and then check the sql server log to see if it was ever opened after you change the flag.
you'd have to make...
November 27, 2012 at 12:25 pm
part two of the group of articles that cpn hector mentioned is doing it dynamically, when the # of values is unknown.
the link to part two is here:
November 27, 2012 at 12:22 pm
i think your trigger needs to be like this;
affect only the inserted records that actually also have [Transfered] = 'True';
your current trigger would affect all records being inserted at this...
November 27, 2012 at 11:10 am
something like this?
i need an anchor for the outer query, so i used the columnName;
your real table might have a queryId or something, i would guess, if you are testing...
November 27, 2012 at 9:11 am
fixed a syntax issue, and create the DDL for the CTE;
i got far enough to duplicate the one row issue before i ran out of gas...building the CTE took...
November 27, 2012 at 8:47 am
Eugene Elutin (11/27/2012)
You may find some less perfectionists around who will not refuse to help you with this...
ouch! i resemble that remark!
anyway, even with the caveats we mentioned, and...
November 27, 2012 at 7:57 am
what does locking queries mean to you?
preventing queries?
reuse the same queries?
encrypt queries or values?
you'll definitely have to explain, in much more detail, and preferable with an example query.
November 27, 2012 at 7:47 am
bcp.exe is a command line utility for importing and exporting to text.
it supports using a query, so you can construct a query that uses a WHERE clause that limits your...
November 27, 2012 at 6:56 am
boobalanmca07 (11/27/2012)
the two sql query is update and alter.
in some times i need to execute update query only,at that time how to...
November 27, 2012 at 6:23 am
i believe if a login belongs to the sysadmin group, and you create a user for the login in any database, the db)owner checkbox gets inherited as readonly ; that's...
November 27, 2012 at 5:58 am
runal_jagtap (11/27/2012)
i have asked to perfrom a task to create a New login & then provide the access rights to a particular DB..
I did it with no time 🙂
After...
November 27, 2012 at 5:52 am
ok sorry...
you can restore a database that doesn't exist yet.
in the object explorer in SSMS, you should be able to expand the server and see the Folder for databases...it may...
November 26, 2012 at 2:46 pm
back and restore is the absolute fasted.
lets assume that a FULL backup exists for a given database on a certain server...if it doesn't exist, create one with copy only...
November 26, 2012 at 2:10 pm
Viewing 15 posts - 4,321 through 4,335 (of 13,469 total)